use FLUID_STRNCMP wrapper macro

This commit is contained in:
derselbst 2018-01-06 21:24:55 +01:00
parent f3903d1a2f
commit 9456bfab12

View file

@ -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;
}
/**