fix for strtol10_64
parent
253871faa5
commit
54ce3d843f
|
@ -229,7 +229,7 @@ inline int64_t strtol10_64(const char* in, const char** out = 0, unsigned int* m
|
||||||
if (inv || *in == '+')
|
if (inv || *in == '+')
|
||||||
++in;
|
++in;
|
||||||
|
|
||||||
int value = strtoul10_64(in, out, max_inout);
|
int64_t value = strtoul10_64(in, out, max_inout);
|
||||||
if (inv) {
|
if (inv) {
|
||||||
value = -value;
|
value = -value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue