Browse Source

fix for strtol10_64

George Papadopoulos 10 years ago
parent
commit
54ce3d843f
1 changed files with 1 additions and 1 deletions
  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;
 	}