mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-18 15:22:47 +03:00
game: client: fix pointer size mismatch
ulong/long is 4 bytes on Windows and 8 bytes on Linux/macOS
This commit is contained in:
parent
d539dff450
commit
0565403b15
@ -121,7 +121,7 @@ inline ClientThinkHandle_t CClientThinkList::GetInvalidThinkHandle()
|
|||||||
|
|
||||||
inline CClientThinkList::ThinkEntry_t* CClientThinkList::GetThinkEntry( ClientThinkHandle_t hThink )
|
inline CClientThinkList::ThinkEntry_t* CClientThinkList::GetThinkEntry( ClientThinkHandle_t hThink )
|
||||||
{
|
{
|
||||||
return &m_ThinkEntries[ (unsigned long)hThink ];
|
return &m_ThinkEntries[ (uintp)hThink ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user