add strtol10_64 and fix FBX text parsing for int_64 (for animation KTime)

This commit is contained in:
George Papadopoulos
2015-04-05 14:55:42 +03:00
parent 3fa6882384
commit da3c347a57
2 changed files with 18 additions and 1 deletions

View File

@@ -459,7 +459,7 @@ int64_t ParseTokenAsInt64(const Token& t, const char*& err_out)
ai_assert(length > 0);
const char* out;
const int64_t id = strtoul10_64(t.begin(), &out, &length);
const int64_t id = strtol10_64(t.begin(), &out, &length);
if (out > t.end()) {
err_out = "failed to parse Int64 (text)";
return 0L;