icculus / Serious-Engine

An open source version of a game engine developed by Croteam for the classic Serious Sam games.
GNU General Public License v2.0
164 stars 21 forks source link

Fix pointer truncation on 64-bit #9

Closed stevenc99 closed 8 years ago

stevenc99 commented 8 years ago

Use size_t instead of int for arithmetic on pointers, to avoid truncation on ILP64 architectures (like amd64).

It's still not possible to link yet on amd64 because of the i386 assembly needed by SoundMixer.