From 7c411438b102b9588ad09c63d7a297df8f0bef22 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Tue, 12 Jan 2016 14:42:04 +0100 Subject: [PATCH] Ensure guid is unsigned. --- src/Steam/Interfaces/SteamUser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Steam/Interfaces/SteamUser.cpp b/src/Steam/Interfaces/SteamUser.cpp index bb9d2f2d..7195d931 100644 --- a/src/Steam/Interfaces/SteamUser.cpp +++ b/src/Steam/Interfaces/SteamUser.cpp @@ -14,7 +14,7 @@ namespace Steam SteamID User::GetSteamID() { - static int subId = 0; + static unsigned int subId = 0; SteamID id; @@ -22,7 +22,7 @@ namespace Steam { if (Components::Dedicated::IsDedicated()) // Dedi guid { - subId = ~0xDED1CADE; + subId = ~0xDED1CA7E; } else if (Components::Singleton::IsFirstInstance()) // Hardware guid {