diff options
Diffstat (limited to 'fitz/base_hash.c')
-rw-r--r-- | fitz/base_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_hash.c b/fitz/base_hash.c index e6ed019b..624cc305 100644 --- a/fitz/base_hash.c +++ b/fitz/base_hash.c @@ -177,7 +177,7 @@ fz_resize_hash(fz_context *ctx, fz_hash_table *table, int newsize) } } if (newents == NULL) - fz_throw(ctx, "hash table resize failed; out of memory (%d entries)", newsize); + fz_throw(ctx, FZ_ERROR_GENERIC, "hash table resize failed; out of memory (%d entries)", newsize); table->ents = newents; memset(table->ents, 0, sizeof(fz_hash_entry) * newsize); table->size = newsize; |