mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Fix compiler warnings
This commit is contained in:
parent
a6b71826f9
commit
de8a4bb3e1
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ static inline int lib_freeslot(lua_State *L)
|
||||||
spritenum_t j;
|
spritenum_t j;
|
||||||
|
|
||||||
if (strlen(word) > MAXSPRITENAME)
|
if (strlen(word) > MAXSPRITENAME)
|
||||||
return luaL_error(L, "Sprite name is longer than %d characters\n", strlen(word));
|
return luaL_error(L, "Sprite name is longer than %s characters\n", sizeu1(strlen(word)));
|
||||||
|
|
||||||
for (j = SPR_FIRSTFREESLOT; j <= SPR_LASTFREESLOT; j++)
|
for (j = SPR_FIRSTFREESLOT; j <= SPR_LASTFREESLOT; j++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -441,7 +441,7 @@ void readfreeslots(MYFILE *f)
|
||||||
else if (fastcmp(type, "SPR"))
|
else if (fastcmp(type, "SPR"))
|
||||||
{
|
{
|
||||||
if (strlen(word) > MAXSPRITENAME)
|
if (strlen(word) > MAXSPRITENAME)
|
||||||
I_Error("Sprite name is longer than %d characters\n", strlen(word));
|
I_Error("Sprite name is longer than %s characters\n", sizeu1(strlen(word)));
|
||||||
|
|
||||||
for (i = SPR_FIRSTFREESLOT; i <= SPR_LASTFREESLOT; i++)
|
for (i = SPR_FIRSTFREESLOT; i <= SPR_LASTFREESLOT; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue