Skip to content

Commit

Permalink
Fix warnings when compiled with MSVC 2013.
Browse files Browse the repository at this point in the history
Similar fix to that from a27e048.
  • Loading branch information
GHF committed Jan 6, 2016
1 parent 9101514 commit 3aabef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenEXR/IlmImf/ImfVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ const int ALL_FLAGS = TILED_FLAG | LONG_NAMES_FLAG |
//

inline bool isTiled (int version) {return !!(version & TILED_FLAG);}
inline bool isMultiPart (int version) {return version & MULTI_PART_FILE_FLAG; }
inline bool isNonImage(int version) {return version & NON_IMAGE_FLAG; }
inline bool isMultiPart (int version) {return !!(version & MULTI_PART_FILE_FLAG); }
inline bool isNonImage(int version) {return !!(version & NON_IMAGE_FLAG); }
inline int makeTiled (int version) {return version | TILED_FLAG;}
inline int makeNotTiled (int version) {return version & ~TILED_FLAG;}
inline int getVersion (int version) {return version & VERSION_NUMBER_FIELD;}
Expand Down

0 comments on commit 3aabef2

Please sign in to comment.