From f2e1e220a4bca89b74daa868fa621e8f9e5bccfa Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 4 Aug 2011 23:34:23 +0200 Subject: [PATCH] Bugfix: Use the right format string (Thanks pnutzh4x0r) --- src/load_layout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5