diff options
Diffstat (limited to 'dlib')
-rw-r--r-- | dlib/dlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dlib/dlib.h b/dlib/dlib.h index cd3b9fc5..aa32beb4 100644 --- a/dlib/dlib.h +++ b/dlib/dlib.h @@ -35,7 +35,7 @@ extern "C" { /* TODO: include a void* size test in configure.in */ /* (long) works for both 32bit and 64bit */ #define VOIDP2INT(p) ((long)(p)) -#define INT2VOIDP(i) ((void*)(i)) +#define INT2VOIDP(i) ((void*)((long)(i))) /* *-- Memory ------------------------------------------------------------------- |