mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 02:56:39 -04:00
with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight
20 lines
614 B
C++
20 lines
614 B
C++
--- src/HLServerList.cpp.orig 2016-06-20 15:57:45 UTC
|
|
+++ src/HLServerList.cpp
|
|
@@ -73,7 +73,7 @@ HLServerList::HLServerList(int nMaxItems
|
|
m_nSkipRequests = 0;
|
|
|
|
// initialize challenge number (should be random)
|
|
- m_nChallengeSeed = (int) &m_pHeadDummyItem;
|
|
+ m_nChallengeSeed = (intptr_t) &m_pHeadDummyItem;
|
|
}
|
|
|
|
|
|
@@ -604,7 +604,7 @@ HLServerListItem* HLServerList::HeartBea
|
|
if(pItem != NULL)
|
|
{
|
|
// get a fresh, random id
|
|
- pItem->m_nChallengeId = GetRandomChallenge((int)&pItem, (int)nTimestamp);
|
|
+ pItem->m_nChallengeId = GetRandomChallenge((intptr_t)&pItem, (int)nTimestamp);
|
|
}
|
|
}
|
|
|