diff options
-rw-r--r-- | src/Screen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 044d689..bf131fb 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -362,7 +362,7 @@ BScreen::BScreen(FbTk::ResourceManager &rm, | |||
362 | 362 | ||
363 | // we're going to manage the screen, so now add our pid | 363 | // we're going to manage the screen, so now add our pid |
364 | #ifdef HAVE_GETPID | 364 | #ifdef HAVE_GETPID |
365 | pid_t bpid = getpid(); | 365 | unsigned long bpid = static_cast<unsigned long>(getpid()); |
366 | 366 | ||
367 | rootWindow().changeProperty(fluxbox->getFluxboxPidAtom(), XA_CARDINAL, | 367 | rootWindow().changeProperty(fluxbox->getFluxboxPidAtom(), XA_CARDINAL, |
368 | sizeof(pid_t) * 8, PropModeReplace, | 368 | sizeof(pid_t) * 8, PropModeReplace, |