diff options
author | Stijn Buys <ingar@osirion.org> | 2011-12-31 12:32:44 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-12-31 12:32:44 +0000 |
commit | 7e5804dbced2997b593fe2740a28ac3f620a9cac (patch) | |
tree | 44b3528f012319c3068fca6893329b1044cca377 /src | |
parent | 97caf0f6995dad9f723526690900f991c87c04b2 (diff) |
Resolved comparison between signed and unsigned integer expressions.
Diffstat (limited to 'src')
-rw-r--r-- | src/model/material.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/material.h b/src/model/material.h index 885831c..6d32a87 100644 --- a/src/model/material.h +++ b/src/model/material.h @@ -68,7 +68,7 @@ public: * @brief returns true if the material has the requested flag set * */ inline bool flag_is_set(const SurfaceFlags surfaceflag) const { - return ((material_flags & surfaceflag) == surfaceflag); + return ((material_flags & (unsigned int) surfaceflag) == surfaceflag); } /** |