Interrupt / systemshock

Shockolate - A minimalist and cross platform System Shock source port.
GNU General Public License v3.0
802 stars 62 forks source link

Change some long to intptr_t to fix crash on 64-bit Windows. #327

Closed icosahedral-dragon closed 4 years ago

icosahedral-dragon commented 4 years ago

long is 64 bits on Linux but 32 bits on Windows. Some pointer values were being set via a long causing pointers to be truncated.