gui/audioplayer.cpp/h: fix some type conversions

This commit is contained in:
2015-01-12 22:02:20 +01:00
parent 76ca33de9f
commit 08cb42d22f
2 changed files with 4 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ class RandomNumber
int operator()(int n)
{
return ((int64_t)n * rand() / RAND_MAX);
return (n * rand() / RAND_MAX);
}
};