diff options
Diffstat (limited to 'src/hashtab.c')
-rw-r--r-- | src/hashtab.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hashtab.c b/src/hashtab.c index 6f2c2ca7b5..54f7500c24 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -400,8 +400,7 @@ hash_may_resize( else { /* Allocate an array. */ - newarray = (hashitem_T *)alloc((unsigned) - (sizeof(hashitem_T) * newsize)); + newarray = (hashitem_T *)alloc(sizeof(hashitem_T) * newsize); if (newarray == NULL) { /* Out of memory. When there are NULL items still return OK. |