MSVC fixes

This commit is contained in:
Jack Andersen
2015-07-22 09:01:28 -10:00
parent edb8468575
commit 48e3298797
9 changed files with 34 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ public:
uint32_t offset;
uint32_t length;
public:
inline bool isDir() const {return SBig(typeAndNameOffset) >> 24;}
inline bool isDir() const {return ((SBig(typeAndNameOffset) >> 24) != 0);}
inline uint32_t getNameOffset() const {return SBig(typeAndNameOffset) & 0xffffff;}
inline uint32_t getOffset() const {return SBig(offset);}
inline uint32_t getLength() const {return SBig(length);}