Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60707 - trunk/boost/wave/util
From: hartmut.kaiser_at_[hidden]
Date: 2010-03-19 09:27:45


Author: hkaiser
Date: 2010-03-19 09:27:44 EDT (Fri, 19 Mar 2010)
New Revision: 60707
URL: http://svn.boost.org/trac/boost/changeset/60707

Log:
Wave: fixed a gcc warning
Text files modified:
   trunk/boost/wave/util/pattern_parser.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/wave/util/pattern_parser.hpp
==============================================================================
--- trunk/boost/wave/util/pattern_parser.hpp (original)
+++ trunk/boost/wave/util/pattern_parser.hpp 2010-03-19 09:27:44 EDT (Fri, 19 Mar 2010)
@@ -37,7 +37,8 @@
     {
         pattern_and(CharT pattern_, unsigned long pattern_mask_ = 0UL)
         : pattern(pattern_),
- pattern_mask((0UL != pattern_mask_) ? pattern_mask_ : pattern_)
+ pattern_mask((0UL != pattern_mask_) ?
+ pattern_mask_ : (unsigned long)pattern_)
         {}
 
         template <typename T>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk