projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcddf9c
)
A little more correctness in formatting pids
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 8 Jul 2010 19:11:24 +0000
(15:11 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 8 Jul 2010 19:11:24 +0000
(15:11 -0400)
Requested in bug 623772
gio/gdesktopappinfo.c
patch
|
blob
|
history
diff --git
a/gio/gdesktopappinfo.c
b/gio/gdesktopappinfo.c
index
ea2d403
..
1df09d6
100644
(file)
--- a/
gio/gdesktopappinfo.c
+++ b/
gio/gdesktopappinfo.c
@@
-908,7
+908,7
@@
child_setup (gpointer user_data)
g_setenv ("GIO_LAUNCHED_DESKTOP_FILE", data->desktop_file, TRUE);
- g_snprintf (pid, 20, "%
d",
getpid ());
+ g_snprintf (pid, 20, "%
ld", (long)
getpid ());
g_setenv ("GIO_LAUNCHED_DESKTOP_FILE_PID", pid, TRUE);
}
}