mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/audioplayer.cpp/h: fix some type conversions
This commit is contained in:
@@ -81,7 +81,7 @@ class RandomNumber
|
||||
|
||||
int operator()(int n)
|
||||
{
|
||||
return ((int64_t)n * rand() / RAND_MAX);
|
||||
return (n * rand() / RAND_MAX);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user