summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLloyd Hilaiel <lloyd@hilaiel.com>2010-08-10 13:15:20 -0600
committerLloyd Hilaiel <lloyd@hilaiel.com>2010-08-10 13:44:49 -0600
commitd564f36928cb340094fe3609bc9fb457063589ab (patch)
treeb18c096e6f3ff9a4e24e0163465bd404086c122d /test
parent1165091129de52851f5e5c6718568aefcf647b66 (diff)
downloadyajl-d564f36928cb340094fe3609bc9fb457063589ab.tar.gz
re-introduce long long type for integer representation now that we require C99
Diffstat (limited to 'test')
-rw-r--r--test/yajl_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/yajl_test.c b/test/yajl_test.c
index 0f07a94..07c9f17 100644
--- a/test/yajl_test.c
+++ b/test/yajl_test.c
@@ -93,9 +93,9 @@ static int test_yajl_boolean(void * ctx, int boolVal)
return 1;
}
-static int test_yajl_integer(void *ctx, long integerVal)
+static int test_yajl_integer(void *ctx, long long integerVal)
{
- printf("integer: %ld\n", integerVal);
+ printf("integer: %lld\n", integerVal);
return 1;
}