From bc8fb513b967d9c4eaa5f478e112c7f479093bbf Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 25 Nov 2012 21:37:20 +0000 Subject: Add a typecast to unsigned int to make debian happy. --- src/core/slot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/slot.h b/src/core/slot.h index 56ee224..eef640a 100644 --- a/src/core/slot.h +++ b/src/core/slot.h @@ -64,7 +64,7 @@ public: * */ inline const bool has_flag(const Flags flag) { - return ( (slot_flags & flag) == flag ); + return ( (slot_flags & flag) == (unsigned int) flag ); } /** -- cgit v1.2.3