Tritium/memory.h: cast void* to intptr_t instead of int
authorGabriel M. Beddingfield <gabriel@teuton.org>
Mon, 27 Sep 2010 12:41:30 +0000 (07:41 -0500)
committerGabriel M. Beddingfield <gabriel@teuton.org>
Mon, 27 Sep 2010 12:41:30 +0000 (07:41 -0500)
commitb4160e5dacb9867bd175ae8e686f126cd26b9b97
tree34c16b2f849e8fe65d26198ba9b4f86a89b4a0f6
parent97ff5288112ac8b3350601549e2e83ba981fee34
Tritium/memory.h: cast void* to intptr_t instead of int

Casting void* to int works fine on 32-bit systems, but typically fails
on a 64-bit stytem.  intptr_t is defined in stdint.h for this very
purpose.
src/Tritium/Tritium/memory.hpp