diff options
author | Ray Strode <rstrode@redhat.com> | 2012-02-07 14:25:41 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2012-02-07 14:25:41 -0500 |
commit | 1fbc872fba07b4b9c345b86ed6fe1e3934afd537 (patch) | |
tree | ceda2d8e56d01305ea0a7948831560572918b5b6 | |
parent | afaee2a3b9eb78badcddb1b531904b026a57bb22 (diff) |
fix compute_object_path on ppc32
long isn't necessarily 64bit. On big endian
architectures, where it's smaller than 64bit,
the compute_object_path function will get get
computed incorrectly.
Based on patch by Michel Dänzer <daenzer@debian.org>
http://bugs.freedesktop.org/show_bug.cgi?id=45738
-rw-r--r-- | src/user.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -732,7 +732,7 @@ compute_object_path (User *user) gchar *object_path; object_path = g_strdup_printf ("/org/freedesktop/Accounts/User%ld", - (gint64) user->uid); + (long) user->uid); return object_path; } |