mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 17:33:37 +02:00
gui/audioplayer.cpp/h: fix some type conversions
Origin commit data
------------------
Commit: 08cb42d22f
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-12 (Mon, 12 Jan 2015)
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