mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
19 lines
399 B
C
19 lines
399 B
C
#include "../gsCommon.h"
|
|
|
|
gsi_i64 gsiStringToInt64(const char *theNumberStr)
|
|
{
|
|
return _atoi64(theNumberStr);
|
|
}
|
|
|
|
void gsiInt64ToString(char theNumberStr[33], gsi_i64 theNumber)
|
|
{
|
|
// you want to fit the number!
|
|
// give me a valid string!
|
|
GS_ASSERT(theNumberStr != NULL);
|
|
|
|
#if _MSC_VER > 1300
|
|
sprintf(theNumberStr, "%lld", theNumber);
|
|
#else
|
|
sprintf(theNumberStr, "%I64d", theNumber);
|
|
#endif
|
|
}
|