Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-12-31 12:36:51 +0000
committerStijn Buys <ingar@osirion.org>2011-12-31 12:36:51 +0000
commit4ab25091da582b5632e17340b26cfdbe59d08c72 (patch)
treebde9b6607e596d5f0bf8ae878c810e36337dc216 /src/model
parent7e5804dbced2997b593fe2740a28ac3f620a9cac (diff)
Resolved comparison between signed and unsigned integer expressions (second try).
Diffstat (limited to 'src/model')
-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 6d32a87..1674e46 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 & (unsigned int) surfaceflag) == surfaceflag);
+ return (((int) material_flags & surfaceflag) == surfaceflag);
}
/**