openmohaa/code/gamespy/common/ps2/gsUtilPs2.c
2023-02-04 21:00:01 +01:00

15 lines
No EOL
315 B
C

#include "../gsCommon.h"
gsi_i64 gsiStringToInt64(const char *theNumberStr)
{
return atol(theNumberStr);
}
void gsiInt64ToString(char theNumberStr[33], gsi_i64 theNumber)
{
// you want to fit the number!
// give me a valid string!
GS_ASSERT(theNumberStr != NULL);
sprintf(theNumberStr, "%ld", theNumber);
}