summaryrefslogtreecommitdiff
path: root/src/os_qnx.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_qnx.c
parent71de720c2c117137185a6fc233b35aab37f0d4bc (diff)
downloadvim-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_qnx.c')
-rw-r--r--src/os_qnx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_qnx.c b/src/os_qnx.c
index 8091599ec..79b7ec0f6 100644
--- a/src/os_qnx.c
+++ b/src/os_qnx.c
@@ -120,7 +120,7 @@ clip_mch_set_selection(VimClipboard *cbd)
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)
{