aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-24 17:02:11 -0500
committerTed Gould <ted@canonical.com>2009-09-24 17:02:11 -0500
commit337c0de0e87e0391b27186d648ea904ae36a3c40 (patch)
tree697781ae394b0a6434a67f44f630b20827febcc1
parent716ae457a5cd360a032c97aee4fd43190840d5d5 (diff)
downloadayatana-indicator-session-337c0de0e87e0391b27186d648ea904ae36a3c40.tar.gz
ayatana-indicator-session-337c0de0e87e0391b27186d648ea904ae36a3c40.tar.bz2
ayatana-indicator-session-337c0de0e87e0391b27186d648ea904ae36a3c40.zip
Adding a cast for one of the 64-bit pointers. We shouldn't need that many users, and it would require lots of memory hacks to fit that in here.
-rw-r--r--src/users-service-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users-service-dbus.c b/src/users-service-dbus.c
index 640dfd7..e05eaf5 100644
--- a/src/users-service-dbus.c
+++ b/src/users-service-dbus.c
@@ -992,7 +992,7 @@ user_removed (DBusGProxy *proxy,
{
user = g_hash_table_find (priv->users,
compare_users_by_uid,
- GUINT_TO_POINTER (uid));
+ GUINT_TO_POINTER ((gint)uid));
if (user != NULL)
{