diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-04-09 02:12:34 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-04-09 02:12:34 +0000 |
commit | 7cbd85cda23d50fb5e5cd036099c43e1d6f03444 (patch) | |
tree | 4f9304f164fca4716a4311e7d9fb8a62df3af275 /gtk/gtkiconcache.c | |
parent | 7e832a73ce0ed48bab9d31462e7536ae7edc1286 (diff) | |
download | gtk+-7cbd85cda23d50fb5e5cd036099c43e1d6f03444.tar.gz |
Use the same function as in updateiconcache.c. (spotted by Morten
2005-04-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconcache.c (icon_name_hash): Use the same function
as in updateiconcache.c. (spotted by Morten Welinder)
Diffstat (limited to 'gtk/gtkiconcache.c')
-rw-r--r-- | gtk/gtkiconcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c index 20166d8a64..d52251c5a3 100644 --- a/gtk/gtkiconcache.c +++ b/gtk/gtkiconcache.c @@ -223,8 +223,8 @@ _gtk_icon_cache_has_directory (GtkIconCache *cache, static guint icon_name_hash (gconstpointer key) { - const char *p = key; - guint h = *p; + const signed char *p = key; + guint32 h = *p; if (h) for (p += 1; *p != '\0'; p++) |