From c5e6647c30d20175b2d0050ec2212ad2d393af7e Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 1 Sep 2011 18:30:31 +0300 Subject: [PATCH] Warning fix --- base/bits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/bits.hpp b/base/bits.hpp index 8aa036339b..03c938e55e 100644 --- a/base/bits.hpp +++ b/base/bits.hpp @@ -55,7 +55,7 @@ namespace bits if (x & 1) if (--i == 0) return j; - return SELECT1_ERROR; + return static_cast(SELECT1_ERROR); } // Will be implemented when needed.