openmohaa/code/gamespy/common/linux/gsUtilLinux.c

17 lines
478 B
C
Raw Normal View History

2023-02-04 21:00:01 +01:00
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#include "../gsCommon.h"
gsi_i64 gsiStringToInt64(const char *theNumberStr)
{
return atoll(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, "%lld", theNumber);
}