commit | a44cffb342d3ff239b61f61257793488e249ac3d | [log] [tgz] |
---|---|---|
author | Christopher Dunn <cdunn2001@gmail.com> | Wed May 09 19:35:15 2007 +0000 |
committer | Christopher Dunn <cdunn2001@gmail.com> | Wed May 09 19:35:15 2007 +0000 |
tree | 66987a5a1a724282be00433ec9d507450a6820a0 | |
parent | 842d64e8d7a16ed4ee4e9c9e52850e54fae759a4 [diff] |
Fixed compilation warnings. Added -Wall to linux-gcc compilation. JSON_ASSERT_MESSAGE now throws exception (but JSON_ASSERT does not).
diff --git a/include/json/value.h b/include/json/value.h index de09d5f..480f433 100644 --- a/include/json/value.h +++ b/include/json/value.h
@@ -518,7 +518,7 @@ class ValueAllocator { public: - enum { unknown = -1 }; + enum { unknown = (unsigned)-1 }; virtual ~ValueAllocator();