diff options
Diffstat (limited to 'girepository/gthash.c')
-rw-r--r-- | girepository/gthash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/gthash.c b/girepository/gthash.c index 2fda9035..16bfb4b8 100644 --- a/girepository/gthash.c +++ b/girepository/gthash.c @@ -177,7 +177,7 @@ _gi_typelib_hash_builder_pack (GITypelibHashBuilder *builder, guint8* mem, guint guint32 hashv; hashv = cmph_search_packed (packed_mem, str, strlen (str)); - g_assert (hashv >= 0 && hashv < num_elts); + g_assert (hashv < num_elts); table[hashv] = strval; } } |