Commit e22cc60a authored by Elliot Lee's avatar Elliot Lee

Use GPOINTER_TO_UINT() instead of a manual cast.



* libnautilus/nautilus-icon-factory.c: Use GPOINTER_TO_UINT() instead of a manual cast.
parent db87f5e7
2000-02-14 Elliot Lee <sopwith@redhat.com>
* libnautilus/nautilus-icon-factory.c: Use GPOINTER_TO_UINT() instead of a manual cast.
2000-02-14 Darin Adler <darin@eazel.com>
* libnautilus/nautilus-directory.c: (nautilus_directory_read_metafile):
......
......@@ -706,7 +706,7 @@ nautilus_icon_cache_key_hash (gconstpointer p)
const NautilusIconCacheKey *key;
key = p;
return (guint)key->scalable_icon ^ key->size_in_pixels;
return GPOINTER_TO_UINT(key->scalable_icon) ^ key->size_in_pixels;
}
static gboolean
......
......@@ -706,7 +706,7 @@ nautilus_icon_cache_key_hash (gconstpointer p)
const NautilusIconCacheKey *key;
key = p;
return (guint)key->scalable_icon ^ key->size_in_pixels;
return GPOINTER_TO_UINT(key->scalable_icon) ^ key->size_in_pixels;
}
static gboolean
......
......@@ -706,7 +706,7 @@ nautilus_icon_cache_key_hash (gconstpointer p)
const NautilusIconCacheKey *key;
key = p;
return (guint)key->scalable_icon ^ key->size_in_pixels;
return GPOINTER_TO_UINT(key->scalable_icon) ^ key->size_in_pixels;
}
static gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment