Change JSON integer's underlying type from int to long
[jansson.git] / src / jansson_private.h
index 77a3c6f..a04b6f2 100644 (file)
@@ -41,7 +41,7 @@ typedef struct {
 
 typedef struct {
     json_t json;
-    int value;
+    long value;
 } json_integer_t;
 
 #define json_to_object(json_)  container_of(json_, json_object_t, json)