mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-18 21:51:22 +00:00
dont cast const qualifier away
This commit is contained in:
parent
3a0640d633
commit
ce57220d65
1 changed files with 2 additions and 2 deletions
|
@ -489,9 +489,9 @@ void fluid_sffile_close(SFData *sf)
|
|||
static int chunkid(unsigned int id)
|
||||
{
|
||||
unsigned int i;
|
||||
unsigned int *p;
|
||||
const unsigned int *p;
|
||||
|
||||
p = (unsigned int *)&idlist;
|
||||
p = (const unsigned int *)&idlist;
|
||||
|
||||
for(i = 0; i < sizeof(idlist) / sizeof(int); i++, p += 1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue