diff options
author | Stephan Arts <stephan@xfce.org> | 2009-02-01 21:47:21 +0000 |
---|---|---|
committer | Stephan Arts <stephan@xfce.org> | 2009-02-01 21:47:21 +0000 |
commit | 9ee4a56187ed936c5abfa8b3142fd9c61104a913 (patch) | |
tree | af1e9f565a40968deb051763deee96afa0eb55ca /xfconfd | |
parent | 36b739b7d9529b5d33a9c1c7458a83bcdd4b898b (diff) | |
download | xfconf-9ee4a56187ed936c5abfa8b3142fd9c61104a913.tar.gz |
Replace GUINT_TO_POINTER and GPOINTER_TO_UINT with GSIZE_TO_POINTER and GPOINTER_TO_SIZE respectively.
Fixes segfault on AMD64 (Bug #4881)
(Old svn revision: 29426)
Diffstat (limited to 'xfconfd')
-rw-r--r-- | xfconfd/xfconf-backend-factory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfconfd/xfconf-backend-factory.c b/xfconfd/xfconf-backend-factory.c index 2c5013e..9ac3096 100644 --- a/xfconfd/xfconf-backend-factory.c +++ b/xfconfd/xfconf-backend-factory.c @@ -49,7 +49,7 @@ xfconf_backend_factory_ensure_backends(void) #ifdef BUILD_XFCONF_BACKEND_PERCHANNEL_XML g_hash_table_insert(backends, XFCONF_BACKEND_PERCHANNEL_XML_TYPE_ID, - GUINT_TO_POINTER(XFCONF_TYPE_BACKEND_PERCHANNEL_XML)); + GSIZE_TO_POINTER(XFCONF_TYPE_BACKEND_PERCHANNEL_XML)); #endif } @@ -63,7 +63,7 @@ xfconf_backend_factory_get_backend(const gchar *type, xfconf_backend_factory_ensure_backends(); - backend_gtype = GPOINTER_TO_UINT(g_hash_table_lookup(backends, type)); + backend_gtype = GPOINTER_TO_SIZE(g_hash_table_lookup(backends, type)); if(0 == backend_gtype) { if(error) { g_set_error(error, XFCONF_ERROR, 0, |