diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-12-18 12:43:28 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-12-18 12:43:33 +0300 |
| commit | 6899d60bbb0068d0d7a7886fe263d50a73216b6c (patch) | |
| tree | 61158b637688934e9b71e15f244ba977cdc55c01 /protocols/Steam/src/steam_utils.cpp | |
| parent | 59f927ee88735b97514c3224ce5929a99dabfa8b (diff) | |
all HTTP friend requests rewritten using Steam API
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;
}
/////////////////////////////////////////////////////////////////////////////////////////
|
