Skip to content

Commit

Permalink
Merge pull request #20 from Vaibhav2399/Vaibhav
Browse files Browse the repository at this point in the history
Added required casting in VoiceAnnouncementManager
  • Loading branch information
Vaibhav2399 authored Feb 16, 2024
2 parents fd189b7 + d76e327 commit a845272
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public void updateNextTaskDistance() {
Distance distance = trackStatistics.getTotalDistance();

int index = (int) (distance.dividedBy(distanceFrequency));
nextTotalDistance = distanceFrequency.multipliedBy(index + 1);
nextTotalDistance = distanceFrequency.multipliedBy((double) (index + 1));
}

}
Expand Down

0 comments on commit a845272

Please sign in to comment.