mirror of
https://github.com/libretro/libretro-prboom.git
synced 2024-11-22 23:49:40 +00:00
Fix GCC 14 compilation (#193)
This commit is contained in:
parent
17589a6b31
commit
0b43954c75
@ -248,7 +248,7 @@ static void FillBuffer(int16_t *buffer, unsigned int nsamples)
|
||||
unsigned int i;
|
||||
int sampval;
|
||||
|
||||
Chip__GenerateBlock2(&opl_chip, nsamples, mix_buffer);
|
||||
Chip__GenerateBlock2(&opl_chip, nsamples, (int32_t *)mix_buffer);
|
||||
|
||||
// Mix into the destination buffer, doubling up into stereo.
|
||||
|
||||
|
@ -396,7 +396,7 @@ static void V_DrawMemPatch(int x, int y, int scrn, const rpatch_t *patch,
|
||||
R_SetDefaultDrawColumnVars(&dcvars);
|
||||
|
||||
drawvars.short_topleft = (uint16_t*)screens[scrn].data;
|
||||
drawvars.int_topleft = (uint32_t*)screens[scrn].data;
|
||||
drawvars.int_topleft = (unsigned int*)screens[scrn].data;
|
||||
|
||||
if (!(flags & VPT_STRETCH))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user