FIX: compiler warning in txtinfo
authorHenning Rogge <hrogge@googlemail.com>
Mon, 23 Feb 2009 21:11:06 +0000 (22:11 +0100)
committerHenning Rogge <hrogge@googlemail.com>
Mon, 23 Feb 2009 21:11:06 +0000 (22:11 +0100)
lib/txtinfo/src/olsrd_txtinfo.c

index c7a2c94..5f2c7d4 100644 (file)
@@ -768,7 +768,7 @@ static int ipc_print_cookies(struct ipc_conn *conn) {
     }
 
     if (abuf_appendf(&conn->resp, "(MEMORY) size: %lu usage: %u freelist: %u\n",
-        c->ci_size, c->ci_usage, c->ci_free_list_usage) < 0) {
+        (unsigned long)c->ci_size, c->ci_usage, c->ci_free_list_usage) < 0) {
       return -1;
     }
   }