fix gcc warnings

This commit is contained in:
Christopher Dunn
2015-01-24 13:42:37 -06:00
parent 201904bfbb
commit 2bc6137ada
5 changed files with 7 additions and 7 deletions

View File

@@ -505,10 +505,10 @@ private:
#endif
} value_;
ValueType type_ : 8;
int allocated_ : 1; // Notes: if declared as bool, bitfield is useless.
unsigned int allocated_ : 1; // Notes: if declared as bool, bitfield is useless.
#ifdef JSON_VALUE_USE_INTERNAL_MAP
unsigned int itemIsUsed_ : 1; // used by the ValueInternalMap container.
int memberNameIsStatic_ : 1; // used by the ValueInternalMap container.
unsigned int memberNameIsStatic_ : 1; // used by the ValueInternalMap container.
#endif
CommentInfo* comments_;