summaryrefslogtreecommitdiff
path: root/fluid/undo.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-04-13 16:32:52 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-04-13 16:32:52 +0000
commite3ce6cd15a1e2aa9ebf1c242f0ffa6ab424ca496 (patch)
tree427e2d125b5f2c59f13b9d8847d7483d4336e41c /fluid/undo.cxx
parent27d36574ec823c000e2363e0a6ae3ecf61585255 (diff)
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
Diffstat (limited to 'fluid/undo.cxx')
-rw-r--r--fluid/undo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/undo.cxx b/fluid/undo.cxx
index c0590f78e..77a2f2f31 100644
--- a/fluid/undo.cxx
+++ b/fluid/undo.cxx
@@ -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__