Compilation fixes for Arch Linux

This commit is contained in:
Bertrand Songis
2017-01-07 18:42:56 +01:00
parent 91c00d0728
commit 54742fcad9
16 changed files with 2471 additions and 2473 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ void getSwitchAudioFile(char * filename, swsrc_t index)
strcpy(str, positions[swinfo.rem]);
}
else {
div_t swinfo = div(index - SWSRC_FIRST_MULTIPOS_SWITCH, XPOTS_MULTIPOS_COUNT);
div_t swinfo = div(int(index - SWSRC_FIRST_MULTIPOS_SWITCH), XPOTS_MULTIPOS_COUNT);
*str++ = 'S';
*str++ = '1' + swinfo.quot;
*str++ = '1' + swinfo.rem;