diff options
Diffstat (limited to 'avahi-core/prioq-test.c')
-rw-r--r-- | avahi-core/prioq-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-core/prioq-test.c b/avahi-core/prioq-test.c index 3d85b78..38f55fb 100644 --- a/avahi-core/prioq-test.c +++ b/avahi-core/prioq-test.c @@ -32,8 +32,8 @@ #include "prioq.h" -#define POINTER_TO_INT(p) ((int) (p)) -#define INT_TO_POINTER(i) ((void*) (i)) +#define POINTER_TO_INT(p) ((int) (long) (p)) +#define INT_TO_POINTER(i) ((void*) (long) (i)) static int compare_int(const void* a, const void* b) { int i = POINTER_TO_INT(a), j = POINTER_TO_INT(b); |