commit | 677ee6890d12218461196f5df92b4dc3d0e52129 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jan 27 14:41:15 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jan 27 14:41:15 2005 +0000 |
tree | c59a8f9d1b14e8c3abc4929c2b5f7a2b71698bdb | |
parent | 10de2da0f567ae615913fe6bc9831590436af4e5 [diff] [blame] |
updated for version 7.0045
diff --git a/src/hashtable.c b/src/hashtable.c index 1dea067..e6651e3 100644 --- a/src/hashtable.c +++ b/src/hashtable.c
@@ -336,7 +336,8 @@ else { /* Allocate an array. */ - newarray = (hashitem_T *)alloc((unsigned)(sizeof(hashitem_T) * newsize)); + newarray = (hashitem_T *)alloc((unsigned) + (sizeof(hashitem_T) * newsize)); if (newarray == NULL) { /* Out of memory. When there are NULL items still return OK.