diff options
Diffstat (limited to 'protocols/Steam/src/steam_utils.cpp')
| -rw-r--r-- | protocols/Steam/src/steam_utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_utils.cpp b/protocols/Steam/src/steam_utils.cpp index 912f84318f..9666316ceb 100644 --- a/protocols/Steam/src/steam_utils.cpp +++ b/protocols/Steam/src/steam_utils.cpp @@ -1,10 +1,10 @@ #include "stdafx.h"
-int64_t getRandomInt()
+uint64_t getRandomInt()
{
- int64_t ret;
+ uint64_t ret;
Utils_GetRandom(&ret, sizeof(ret));
- return (ret >= 0) ? ret : -ret;
+ return ret & INT64_MAX;
}
/////////////////////////////////////////////////////////////////////////////////////////
|
