mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-14 23:58:06 +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)
|
char *UTIL_dtos1(int d)
|
||||||
{
|
{
|
||||||
static char buf[8];
|
static char buf[12];
|
||||||
Q_sprintf(buf, "%d", d);
|
Q_sprintf(buf, "%d", d);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *UTIL_dtos2(int d)
|
char *UTIL_dtos2(int d)
|
||||||
{
|
{
|
||||||
static char buf[8];
|
static char buf[12];
|
||||||
Q_sprintf(buf, "%d", d);
|
Q_sprintf(buf, "%d", d);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
NOXREF char *UTIL_dtos3(int d)
|
NOXREF char *UTIL_dtos3(int d)
|
||||||
{
|
{
|
||||||
static char buf[8];
|
static char buf[12];
|
||||||
Q_sprintf(buf, "%d", d);
|
Q_sprintf(buf, "%d", d);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
NOXREF char *UTIL_dtos4(int d)
|
NOXREF char *UTIL_dtos4(int d)
|
||||||
{
|
{
|
||||||
static char buf[8];
|
static char buf[12];
|
||||||
Q_sprintf(buf, "%d", d);
|
Q_sprintf(buf, "%d", d);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user