A little more correctness in formatting pids

Requested in bug 623772
This commit is contained in:
Matthias Clasen 2010-07-08 15:11:24 -04:00
parent fcddf9c2a1
commit 349aab2bd4

View File

@ -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);
}
}