[Goodies-commits] r4983 - xfce4-cddrive-plugin/trunk/panel-plugin/os-dependant
Diego Ongaro
ongardie at xfce.org
Sat Jun 21 16:36:49 CEST 2008
Author: ongardie
Date: 2008-06-21 14:36:49 +0000 (Sat, 21 Jun 2008)
New Revision: 4983
Modified:
xfce4-cddrive-plugin/trunk/panel-plugin/os-dependant/cddrive-process.c
Log:
Fix build on 64-bit systems
Modified: xfce4-cddrive-plugin/trunk/panel-plugin/os-dependant/cddrive-process.c
===================================================================
--- xfce4-cddrive-plugin/trunk/panel-plugin/os-dependant/cddrive-process.c 2008-06-21 13:03:15 UTC (rev 4982)
+++ xfce4-cddrive-plugin/trunk/panel-plugin/os-dependant/cddrive-process.c 2008-06-21 14:36:49 UTC (rev 4983)
@@ -44,7 +44,7 @@
g_assert (process_pid > 0);
/* get the program path pointed by the exe link */
- p1 = g_strdup_printf ("/proc/%llu/exe", process_pid);
+ p1 = g_strdup_printf ("/proc/%llu/exe", (unsigned long long) process_pid);
p2 = g_file_read_link (p1, NULL);
g_free (p1);
p1 = g_filename_to_utf8 (p2, -1, NULL, &w, NULL);
More information about the Goodies-commits
mailing list