mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
SW: Fix -Wformat-overflow and -Wstringop-overflow
git-svn-id: https://svn.eduke32.com/eduke32@7534 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e4975c522b
commit
d97f1ed79e
2 changed files with 2 additions and 2 deletions
|
@ -2282,7 +2282,7 @@ ExtGetSpriteCaption(short spritenum)
|
|||
{
|
||||
SPRITEp sp = &sprite[spritenum];
|
||||
const char *p = "";
|
||||
char name[64];
|
||||
char name[66];
|
||||
char tp[30];
|
||||
char multi_str[30] = "";
|
||||
int16_t data;
|
||||
|
|
|
@ -469,7 +469,7 @@ PlaySong(char *song_file_name, int cdaudio_track, SWBOOL loop, SWBOOL restart)
|
|||
for (i = 0; i < ARRAY_SIZE(tracktypes); ++i)
|
||||
{
|
||||
waveformtrack[tracknamebaselen] = '\0';
|
||||
Bstrncat(waveformtrack, tracktypes[i], MAXWAVEFORMTRACKLENGTH);
|
||||
Bstrncat(waveformtrack, tracktypes[i], MAXWAVEFORMTRACKLENGTH - 1);
|
||||
|
||||
if (LoadSong(waveformtrack))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue