Fix a bug in json_object_get_int() where calling it on a string type object would...
authorEric Haszlakiewicz <ehaszla@transunion.com>
Tue, 3 May 2011 20:39:07 +0000 (20:39 +0000)
committerEric Haszlakiewicz <ehaszla@transunion.com>
Tue, 3 May 2011 20:39:07 +0000 (20:39 +0000)
commite2e16011f0839a1861754105b2268588a11776c6
treedb87a980f6582bb4275aa58a6174278ff6d2fd93
parentd1342d6f2d79651026dc3ee4c2da5cc40a50bb5b
Fix a bug in json_object_get_int() where calling it on a string type object would always return 0, instead of the actual numerical value of the string.

git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@66 327403b1-1117-474d-bef2-5cb71233fd97
json_object.c