dp_doom: fix two warnings in old linuxdoom code

This commit is contained in:
oxmox 2023-02-23 06:16:43 +01:00
parent f1281295ee
commit 92bfba237f
2 changed files with 37 additions and 37 deletions

View file

@ -392,7 +392,7 @@ void HU_Init(void)
int i; int i;
int j; int j;
char buffer[9]; char buffer[17];
if (language == french) if (language == french)
shiftxform = french_shiftxform; shiftxform = french_shiftxform;

View file

@ -580,7 +580,7 @@ WriteBMPfile
for (i = 0; i < height; ++i) for (i = 0; i < height; ++i)
{ {
unsigned int j; //unsigned int j;
bmp_pointer = &bmp[bitmap_offset + rounded_width * (height - i - 1)]; bmp_pointer = &bmp[bitmap_offset + rounded_width * (height - i - 1)];