]> git.meshlink.io Git - catta/blobdiff - avahi-core/timeeventq-test.c
forgot to pull the publish_no_reverse change to the example.
[catta] / avahi-core / timeeventq-test.c
index e02a6857008693f03c5d9abed7c753c5c16762d9..d7b2e39c97f894e353f0810caafb7a9f92f52f23 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /***
   This file is part of avahi.
 
@@ -32,8 +30,8 @@
 #include "timeeventq.h"
 #include "log.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 AvahiTimeEventQueue *q = NULL;