Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-12-31 12:32:44 +0000
committerStijn Buys <ingar@osirion.org>2011-12-31 12:32:44 +0000
commit7e5804dbced2997b593fe2740a28ac3f620a9cac (patch)
tree44b3528f012319c3068fca6893329b1044cca377
parent97caf0f6995dad9f723526690900f991c87c04b2 (diff)
Resolved comparison between signed and unsigned integer expressions.
-rw-r--r--src/model/material.h2
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);
}
/**