diff --git a/source/Irrlicht/CIrrDeviceLinux.cpp b/source/Irrlicht/CIrrDeviceLinux.cpp index 9d4033b5..dae3b04e 100644 --- a/source/Irrlicht/CIrrDeviceLinux.cpp +++ b/source/Irrlicht/CIrrDeviceLinux.cpp @@ -332,7 +332,7 @@ void CIrrDeviceLinux::setupTopLevelXorgWindow() Atom NET_WM_PID = XInternAtom(XDisplay, "_NET_WM_PID", false); - pid_t pid = getpid(); + long pid = static_cast(getpid()); XChangeProperty(XDisplay, XWindow, NET_WM_PID, XA_CARDINAL, 32, PropModeReplace,