mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
Merge remote-tracking branch 'gvdb/master'
This commit is contained in:
@@ -93,7 +93,7 @@ djb_hash (const gchar *key)
|
||||
guint32 hash_value = 5381;
|
||||
|
||||
while (*key)
|
||||
hash_value = hash_value * 33 + *key++;
|
||||
hash_value = hash_value * 33 + *(signed char *)key++;
|
||||
|
||||
return hash_value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user