Skip to content

Commit f699277

Browse files
committed
Linux compile fix
1 parent c245d1a commit f699277

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Server/mods/deathmatch/logic/CConnectHistory.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ SString CConnectHistory::DebugDump ( long long llTickCountAdd )
171171
std::stringstream strOutput;
172172

173173
long long llCurrentTime = GetModuleTickCount64 ();
174-
strOutput << SString( "CurrentTime: 0x%" PRIx64 "\n", llCurrentTime );
175-
strOutput << SString( "TimeLastRemoveExpired: 0x%" PRIx64 "\n", m_llTimeLastRemoveExpired );
174+
strOutput << SString( "CurrentTime: 0x%llx\n", llCurrentTime );
175+
strOutput << SString( "TimeLastRemoveExpired: 0x%llx\n", m_llTimeLastRemoveExpired );
176176
strOutput << SString( "HistoryItems: %d\n", m_HistoryItemMap.size() );
177-
strOutput << SString( "TickCountAdd: 0x%" PRIx64 "\n", llTickCountAdd );
178-
strOutput << SString( "DebugTickCountOffset: 0x%" PRIx64 "\n", m_llDebugTickCountOffset );
177+
strOutput << SString( "TickCountAdd: 0x%llx\n", llTickCountAdd );
178+
strOutput << SString( "DebugTickCountOffset: 0x%llx\n", m_llDebugTickCountOffset );
179179

180180
// Step through each IP's connect history
181181
for ( HistoryItemMap::iterator mapIt = m_HistoryItemMap.begin () ; mapIt != m_HistoryItemMap.end (); ++mapIt )
@@ -189,7 +189,7 @@ SString CConnectHistory::DebugDump ( long long llTickCountAdd )
189189
{
190190
long long llTime = historyItem.joinTimes[i];
191191
long long llAge = llCurrentTime - historyItem.joinTimes[i];
192-
strInfo += SString ( "%" PRId64 "(0x%" PRIx64 ") ", llAge, llTime );
192+
strInfo += SString ( "%lld(0x%llx) ", llAge, llTime );
193193
}
194194
strInfo += "\n";
195195
strOutput << strInfo;

0 commit comments

Comments
 (0)