diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-24 19:39:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-24 19:39:03 +0200 |
commit | 18a4ba29aeccb9841d5bfdd2eaaffdfae2f15ced (patch) | |
tree | 408ad339f6b34876d2fa481ac61568c7739b1160 /src/os_amiga.c | |
parent | 71de720c2c117137185a6fc233b35aab37f0d4bc (diff) | |
download | vim-git-18a4ba29aeccb9841d5bfdd2eaaffdfae2f15ced.tar.gz |
patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
Diffstat (limited to 'src/os_amiga.c')
-rw-r--r-- | src/os_amiga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c index ec392cd7f..d99c19886 100644 --- a/src/os_amiga.c +++ b/src/os_amiga.c @@ -1448,7 +1448,7 @@ mch_expandpath( #ifdef __amigaos4__ Anchor = AllocDosObject(DOS_ANCHORPATH, AnchorTags); #else - Anchor = (struct AnchorPath *)alloc_clear((unsigned)ANCHOR_SIZE); + Anchor = (struct AnchorPath *)alloc_clear(ANCHOR_SIZE); #endif if (Anchor == NULL) return 0; |