summaryrefslogtreecommitdiffstats
path: root/avahi-core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-25 01:50:03 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-25 01:50:03 +0200
commitc8eacc0f13f6df529f2f40961e2ddb3a45dc9f93 (patch)
tree7c7874798b58eaf56a0d60da14affc0448cc2e35 /avahi-core
parentfbc9039f85aa2078fd66a7cec4fc266794ecf4ba (diff)
build-sys: make things more quiet
Diffstat (limited to 'avahi-core')
-rw-r--r--avahi-core/prioq-test.c4
-rw-r--r--avahi-core/timeeventq-test.c4
2 files changed, 4 insertions, 4 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);
diff --git a/avahi-core/timeeventq-test.c b/avahi-core/timeeventq-test.c
index e02a685..822ef85 100644
--- a/avahi-core/timeeventq-test.c
+++ b/avahi-core/timeeventq-test.c
@@ -32,8 +32,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;