From da547bd7c73ef843e6bac949f15a5c5a40e177f3 Mon Sep 17 00:00:00 2001 From: dreamstalker Date: Tue, 16 Jun 2015 14:04:26 +0400 Subject: [PATCH] SV_ConnectClient: format *sid properly --- rehlds/engine/sv_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/sv_main.cpp b/rehlds/engine/sv_main.cpp index 5466fcf..7ef7594 100644 --- a/rehlds/engine/sv_main.cpp +++ b/rehlds/engine/sv_main.cpp @@ -2387,7 +2387,7 @@ void SV_ConnectClient_internal(void) host_client->userinfo[MAX_INFO_STRING - 1] = 0; SV_ExtractFromUserinfo(host_client); - Info_SetValueForStarKey(host_client->userinfo, "*sid", va("%I64d", host_client->network_userid.m_SteamID), MAX_INFO_STRING); + Info_SetValueForStarKey(host_client->userinfo, "*sid", va("%lld", host_client->network_userid.m_SteamID), MAX_INFO_STRING); host_client->datagram.flags = 1; host_client->datagram.data = (byte *)host_client->datagram_buf;