Commit 8668aebf authored by miloyip@gmail.com's avatar miloyip@gmail.com

Fixed issue 17 from 0.1x branch

git-svn-id: https://rapidjson.googlecode.com/svn/trunk@59 c5894555-1306-4e8d-425f-1f6f381ee07c
parent c008d517
......@@ -499,7 +499,7 @@ private:
RAPIDJSON_PARSE_ERROR("Expect a value here.", is.Tell());
// Parse 64bit int
uint64_t i64;
uint64_t i64 = 0;
bool useDouble = false;
if (try64bit) {
i64 = i;
......@@ -524,7 +524,7 @@ private:
}
// Force double for big integer
double d;
double d = 0.0;
if (useDouble) {
d = (double)i64;
while (s.Peek() >= '0' && s.Peek() <= '9') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment