diff options
Diffstat (limited to 'apps/xclock/xclock.c')
-rw-r--r-- | apps/xclock/xclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/xclock/xclock.c b/apps/xclock/xclock.c index 6b80ad0ae..5965a8357 100644 --- a/apps/xclock/xclock.c +++ b/apps/xclock/xclock.c @@ -215,7 +215,7 @@ main(int argc, char *argv[]) #ifdef HAVE_GETPID { - pid_t pid = getpid(); + unsigned long pid = (unsigned long)getpid(); XChangeProperty(XtDisplay(toplevel), XtWindow(toplevel), XInternAtom(XtDisplay(toplevel), "_NET_WM_PID", False), XA_CARDINAL, 32, PropModeReplace, |