summaryrefslogtreecommitdiff
path: root/json_object_private.h
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2017-12-16 17:09:39 +0100
committerBjörn Esser <besser82@fedoraproject.org>2017-12-17 12:51:17 +0100
commitc233f5c05e92909a764973524a03471bfad78f09 (patch)
tree3569b9a633e75533ed968b18b8e854ff7c45388c /json_object_private.h
parent5ea6a05bfa43c9ba438fbc0eaea600edd6d72b88 (diff)
downloadjson-c-c233f5c05e92909a764973524a03471bfad78f09.tar.gz
json_object_private: Use unsigned 32-bit integer type for refcount
Diffstat (limited to 'json_object_private.h')
-rw-r--r--json_object_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/json_object_private.h b/json_object_private.h
index 53be70d..51134b6 100644
--- a/json_object_private.h
+++ b/json_object_private.h
@@ -29,7 +29,7 @@ struct json_object
enum json_type o_type;
json_object_private_delete_fn *_delete;
json_object_to_json_string_fn *_to_json_string;
- int _ref_count;
+ uint_fast32_t _ref_count;
struct printbuf *_pb;
union data {
json_bool c_boolean;