Leaving this here so I dont forget to fix these issues.
Numerous issues especially regarding the swap function. Nothing that will break the compile, at least in debug mode, but needs to be addressed.
Thread procs should be refactored slightly, as currently they are weirdly casted around and it causes warnings. Will not cause bugs in 32-bit builds, but it will break things severely in 64-bit mode.
[x] Fix swap function warnings
[x] Fix thread proc so it works fine in 64-bit mode
Leaving this here so I dont forget to fix these issues. Numerous issues especially regarding the
swap
function. Nothing that will break the compile, at least in debug mode, but needs to be addressed. Thread procs should be refactored slightly, as currently they are weirdly casted around and it causes warnings. Will not cause bugs in 32-bit builds, but it will break things severely in 64-bit mode.swap
function warnings