Cast "pid" as unsigned long to avoid a bus error on sparc64.
OK matthieu@
This commit is contained in:
parent
988f34c0b9
commit
184d7c3b41
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user