commit | 18a4ba29aeccb9841d5bfdd2eaaffdfae2f15ced | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri May 24 19:39:03 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 24 19:39:03 2019 +0200 |
tree | 408ad339f6b34876d2fa481ac61568c7739b1160 | |
parent | 71de720c2c117137185a6fc233b35aab37f0d4bc [diff] [blame] |
patch 8.1.1386: unessesary type casts for lalloc() Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
diff --git a/src/os_qnx.c b/src/os_qnx.c index 8091599..79b7ec0 100644 --- a/src/os_qnx.c +++ b/src/os_qnx.c
@@ -120,7 +120,7 @@ type = clip_convert_selection(&str, &len, cbd); if (type >= 0) { - text_clip = lalloc(len + 1, TRUE); /* Normal text */ + text_clip = alloc(len + 1); // Normal text if (text_clip && vim_clip) {