Cast GetCurrentProcessId to int to avoid compiler warning.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2005-04-13 16:32:52 +00:00
parent 27d36574ec
commit e3ce6cd15a

View File

@ -33,7 +33,7 @@
#if defined(WIN32) && !defined(__CYGWIN__) #if defined(WIN32) && !defined(__CYGWIN__)
# include <io.h> # include <io.h>
# include <windows.h> # include <windows.h>
# define getpid GetCurrentProcessId # define getpid (int)GetCurrentProcessId
#else #else
# include <unistd.h> # include <unistd.h>
#endif // WIN32 && !__CYGWIN__ #endif // WIN32 && !__CYGWIN__