This commit is contained in:
Igor Pavlov
2011-04-11 00:00:00 +00:00
committed by Kornel Lesiński
parent de4f8c22fe
commit 35596517f2
322 changed files with 9989 additions and 7759 deletions
+7
View File
@@ -88,3 +88,10 @@ Int64 ConvertStringToInt64(const char *s, const char **end)
return -(Int64)ConvertStringToUInt64(s + 1, end);
return ConvertStringToUInt64(s, end);
}
Int64 ConvertStringToInt64(const wchar_t *s, const wchar_t **end)
{
if (*s == L'-')
return -(Int64)ConvertStringToUInt64(s + 1, end);
return ConvertStringToUInt64(s, end);
}