]> granicus.if.org Git - pgbouncer/commitdiff
fscking type problems
authorMarko Kreen <markokr@gmail.com>
Sat, 12 Jan 2008 17:34:29 +0000 (17:34 +0000)
committerMarko Kreen <markokr@gmail.com>
Sat, 12 Jan 2008 17:34:29 +0000 (17:34 +0000)
src/main.c

index 828d5e5a8119dda7933fbb6ac2429ab1b8325d04..3c5d368e21d87c40aba426ecd68c57d2d5c83d99 100644 (file)
@@ -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);