From: Michael Stapelberg Date: Thu, 4 Aug 2011 21:34:23 +0000 (+0200) Subject: Bugfix: Use the right format string (Thanks pnutzh4x0r) X-Git-Tag: 4.0.2~55^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f2e1e220a4bca89b74daa868fa621e8f9e5bccfa;p=i3%2Fi3 Bugfix: Use the right format string (Thanks pnutzh4x0r) --- diff --git a/src/load_layout.c b/src/load_layout.c index ecd0a982..b61a0e5c 100644 --- a/src/load_layout.c +++ b/src/load_layout.c @@ -153,10 +153,11 @@ static int json_string(void *ctx, const unsigned char *val, unsigned int len) { #if YAJL_MAJOR >= 2 static int json_int(void *ctx, long long val) { + LOG("int %lld for key %s\n", val, last_key); #else static int json_int(void *ctx, long val) { + LOG("int %ld for key %s\n", val, last_key); #endif - LOG("int %d for key %s\n", val, last_key); if (strcasecmp(last_key, "type") == 0) { json_node->type = val; }