summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/unixsupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/unixsupport.h')
-rw-r--r--otherlibs/win32unix/unixsupport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/unixsupport.h b/otherlibs/win32unix/unixsupport.h
index e97c2543e..303f8905a 100644
--- a/otherlibs/win32unix/unixsupport.h
+++ b/otherlibs/win32unix/unixsupport.h
@@ -21,7 +21,7 @@
#include <direct.h>
#include <process.h>
-#define Handle_val(v) (*((HANDLE *)(v)))
+#define Handle_val(v) (*((HANDLE *) Data_custom_val(v)))
extern value win_alloc_handle(HANDLE);