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