This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
jdk-build-libs
/
json-c
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
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
tags/json-c-0.10-20120530
Eric Haszlakiewicz
14 years ago
parent
d1342d6f2d
commit
e2e16011f0
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
json_object.c
+ 1
- 1
json_object.c
View File
@@ -349,7 +349,7 @@ int32_t json_object_get_int(struct json_object *jso)
o_type = json_type_int;
}
switch(
jso->
o_type) {
switch(o_type) {
case json_type_int:
/* Make sure we return the correct values for out of range numbers. */
if (cint64 <= INT32_MIN)
Write
Preview
Loading…
Cancel
Save