ext/oj/object.c in oj-3.0.5 vs ext/oj/object.c in oj-3.0.6
- old
+ new
@@ -255,10 +255,10 @@
parent->val = clas;
}
}
break;
case 't': // time
- parent->val = oj_parse_xml_time(str, len);
+ parent->val = oj_parse_xml_time(str, (int)len);
break;
default:
return 0;
break;
}