From 7e5804dbced2997b593fe2740a28ac3f620a9cac Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 31 Dec 2011 12:32:44 +0000 Subject: Resolved comparison between signed and unsigned integer expressions. --- src/model/material.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } /** -- cgit v1.2.3