diff options
Diffstat (limited to 'src/hashtab.c')
-rw-r--r-- | src/hashtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashtab.c b/src/hashtab.c index 49e6e48..1bd4109 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -146,7 +146,7 @@ HashTableGrows(xpmHashTable *table) HASH_TABLE_GROWS table->size = size; table->limit = size / 3; - if (size >= UINT_MAX / sizeof(*atomTable)) + if (size >= UINT_MAX / sizeof(*atomTable)) return (XpmNoMemory); atomTable = (xpmHashAtom *) XpmMalloc(size * sizeof(*atomTable)); if (!atomTable) |