diff --git a/src/commands/CompareAudioCommand.cpp b/src/commands/CompareAudioCommand.cpp index 874e48faa..3dda596f4 100644 --- a/src/commands/CompareAudioCommand.cpp +++ b/src/commands/CompareAudioCommand.cpp @@ -125,7 +125,9 @@ bool CompareAudioCommand::Apply(CommandExecutionContext context) } position += block; - Progress((position - s0) / length); + Progress( + double(position - s0) / double(length) + ); } delete [] buff0;