浏览代码

fix for strtol10_64

George Papadopoulos 10 年之前
父节点
当前提交
54ce3d843f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/fast_atof.h

+ 1 - 1
code/fast_atof.h

@@ -229,7 +229,7 @@ inline int64_t strtol10_64(const char* in, const char** out = 0, unsigned int* m
 	if (inv || *in == '+')
 		++in;
 
-	int value = strtoul10_64(in, out, max_inout);
+	int64_t value = strtoul10_64(in, out, max_inout);
 	if (inv) {
 		value = -value;
 	}