mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-01-19 16:00:51 +00:00
use FLUID_STRNCMP wrapper macro
This commit is contained in:
parent
f3903d1a2f
commit
9456bfab12
1 changed files with 2 additions and 2 deletions
|
@ -315,7 +315,7 @@ fluid_is_midifile(const char *filename)
|
|||
}
|
||||
fclose(fp);
|
||||
|
||||
return strncmp(id, "MThd", 4) == 0;
|
||||
return FLUID_STRNCMP(id, "MThd", 4) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -341,7 +341,7 @@ fluid_is_soundfont(const char *filename)
|
|||
}
|
||||
fclose(fp);
|
||||
|
||||
return strncmp(id, "RIFF", 4) == 0;
|
||||
return FLUID_STRNCMP(id, "RIFF", 4) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue