summaryrefslogtreecommitdiffstats
path: root/src/os_amiga.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-24 19:39:03 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-24 19:39:03 +0200
commit18a4ba29aeccb9841d5bfdd2eaaffdfae2f15ced (patch)
tree408ad339f6b34876d2fa481ac61568c7739b1160 /src/os_amiga.c
parent71de720c2c117137185a6fc233b35aab37f0d4bc (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c
index ec392cd7f7..d99c19886b 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;