From c8eacc0f13f6df529f2f40961e2ddb3a45dc9f93 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 25 Jun 2010 01:50:03 +0200 Subject: build-sys: make things more quiet --- avahi-core/prioq-test.c | 4 ++-- avahi-core/timeeventq-test.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'avahi-core') 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; -- cgit