Build: Fixed some warnings

This commit is contained in:
Subv 2015-02-01 15:31:21 -05:00
parent f990728ad4
commit 8e2b248e05
11 changed files with 69 additions and 51 deletions

View file

@ -253,7 +253,7 @@ private:
*/
static const size_t MAX_COUNT = 4096;
static size_t GetSlot(Handle handle) { return handle >> 15; }
static u16 GetSlot(Handle handle) { return handle >> 15; }
static u16 GetGeneration(Handle handle) { return handle & 0x7FFF; }
/// Stores the Object referenced by the handle or null if the slot is empty.