mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-26 22:55:41 +03:00
Fixed format buffer size in UTIL_dtosX
functions (#528)
This commit is contained in:
parent
5bbba22218
commit
895dabc3a1
@ -772,28 +772,28 @@ void UTIL_SayTextAll(const char *pText, CBaseEntity *pEntity)
|
||||
|
||||
char *UTIL_dtos1(int d)
|
||||
{
|
||||
static char buf[8];
|
||||
static char buf[12];
|
||||
Q_sprintf(buf, "%d", d);
|
||||
return buf;
|
||||
}
|
||||
|
||||
char *UTIL_dtos2(int d)
|
||||
{
|
||||
static char buf[8];
|
||||
static char buf[12];
|
||||
Q_sprintf(buf, "%d", d);
|
||||
return buf;
|
||||
}
|
||||
|
||||
NOXREF char *UTIL_dtos3(int d)
|
||||
{
|
||||
static char buf[8];
|
||||
static char buf[12];
|
||||
Q_sprintf(buf, "%d", d);
|
||||
return buf;
|
||||
}
|
||||
|
||||
NOXREF char *UTIL_dtos4(int d)
|
||||
{
|
||||
static char buf[8];
|
||||
static char buf[12];
|
||||
Q_sprintf(buf, "%d", d);
|
||||
return buf;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user