mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-18 10:35:11 +00:00
Fix typecasting(again)
This commit is contained in:
parent
a647a2599f
commit
04af689ae9
1 changed files with 2 additions and 2 deletions
|
@ -3245,7 +3245,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
transWaveMap.loopEnd=s->loopEnd;
|
||||
}
|
||||
transWaveMap.updateSize(s->samples,transWaveMap.loopStart,transWaveMap.loopEnd);
|
||||
if (ins->amiga.transWave.sliceEnable && i==ins->amiga.transWave.ind) {
|
||||
if (ins->amiga.transWave.sliceEnable && (int)i==ins->amiga.transWave.ind) {
|
||||
ins->amiga.transWave.updateSize(s->samples,transWaveMap.loopStart,transWaveMap.loopEnd);
|
||||
ins->amiga.transWave.slicePos((double)(ins->amiga.transWave.slice)/4095.0);
|
||||
}
|
||||
|
@ -3262,7 +3262,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
if (transWaveMap.loopStart<0) transWaveMap.loopStart=0;
|
||||
if (transWaveMap.loopStart>transWaveMap.loopEnd) transWaveMap.loopStart=transWaveMap.loopEnd;
|
||||
transWaveMap.updateSize(s->samples,transWaveMap.loopStart,transWaveMap.loopEnd);
|
||||
if (ins->amiga.transWave.sliceEnable && i==ins->amiga.transWave.ind) {
|
||||
if (ins->amiga.transWave.sliceEnable && (int)i==ins->amiga.transWave.ind) {
|
||||
ins->amiga.transWave.updateSize(s->samples,transWaveMap.loopStart,transWaveMap.loopEnd);
|
||||
ins->amiga.transWave.slicePos((double)(ins->amiga.transWave.slice)/4095.0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue