Ensure guid is unsigned.

This commit is contained in:
momo5502 2016-01-12 14:42:04 +01:00
parent 577d0c0637
commit 7c411438b1

View File

@ -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
{