Skip to content

Commit

Permalink
Cast GetCurrentProcessId to int to avoid compiler warning.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Apr 13, 2005
1 parent 27d3657 commit e3ce6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluid/undo.cxx
Expand Up @@ -33,7 +33,7 @@
#if defined(WIN32) && !defined(__CYGWIN__)
# include <io.h>
# include <windows.h>
# define getpid GetCurrentProcessId
# define getpid (int)GetCurrentProcessId
#else
# include <unistd.h>
#endif // WIN32 && !__CYGWIN__
Expand Down

0 comments on commit e3ce6cd

Please sign in to comment.