seahorse r2702 - in trunk: . common
- From: mboman svn gnome org
- To: svn-commits-list gnome org
- Subject: seahorse r2702 - in trunk: . common
- Date: Tue, 13 Jan 2009 21:18:13 +0000 (UTC)
Author: mboman
Date: Tue Jan 13 21:18:13 2009
New Revision: 2702
URL: http://svn.gnome.org/viewvc/seahorse?rev=2702&view=rev
Log:
Fix a 64bit portability issue (#565649)
Modified:
trunk/ChangeLog
trunk/common/seahorse-registry.c
Modified: trunk/common/seahorse-registry.c
==============================================================================
--- trunk/common/seahorse-registry.c (original)
+++ trunk/common/seahorse-registry.c Tue Jan 13 21:18:13 2009
@@ -87,7 +87,7 @@
g_return_val_if_fail (category[0], NULL);
/* Get the first category */
- set = g_hash_table_lookup (table, g_quark_try_string (category));
+ set = g_hash_table_lookup (table, GUINT_TO_POINTER (g_quark_try_string (category)));
if (!set)
return NULL;
@@ -105,7 +105,7 @@
g_return_val_if_fail (category[0], NULL);
/* Lookup this category */
- set = g_hash_table_lookup (table, g_quark_try_string (category));
+ set = g_hash_table_lookup (table, GUINT_TO_POINTER (g_quark_try_string (category)));
/* No category, no matches */
if (!set) {
@@ -402,8 +402,8 @@
pv = SEAHORSE_REGISTRY_GET_PRIVATE (registry);
va_start (cats, category);
- func = GPOINTER_TO_UINT (lookup_category_value (pv->functions, category, cats));
+ func = lookup_category_value (pv->functions, category, cats);
va_end (cats);
return func;
-}
\ No newline at end of file
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]