From 788b2088a36749b7e2095e577ac1e3e058baa929 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Sat, 12 Jan 2008 17:34:29 +0000 Subject: [PATCH] fscking type problems --- src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 828d5e5..3c5d368 100644 --- a/src/main.c +++ b/src/main.c @@ -460,8 +460,9 @@ static void check_limits(void) List *item; PgDatabase *db; - log_noise("event: %lu, SBuf: %lu, PgSocket: %lu, Full PgSocket: %lu", - sizeof(struct event), RAW_SBUF_SIZE, RAW_SOCKET_SIZE, PG_SOCKET_SIZE); + log_noise("event: %d, SBuf: %d, PgSocket: %d, Full PgSocket: %d", + (int)sizeof(struct event), (int)RAW_SBUF_SIZE, + (int)RAW_SOCKET_SIZE, (int)PG_SOCKET_SIZE); /* load limits */ err = getrlimit(RLIMIT_NOFILE, &lim); -- 2.40.0