Update of /cvsroot/boost/boost/boost/xpressive/detail/utility
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32078

Modified Files:
        boyer_moore.hpp 
Log Message:
work around intel-vc8-win-9.1 compiler bug

Index: boyer_moore.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/utility/boyer_moore.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- boyer_moore.hpp     26 Nov 2005 17:12:25 -0000      1.3
+++ boyer_moore.hpp     1 Mar 2007 18:19:51 -0000       1.4
@@ -61,7 +61,7 @@
         std::ptrdiff_t const uchar_max = UCHAR_MAX;
         std::ptrdiff_t diff = std::distance(begin, end);
         this->length_  = static_cast<unsigned char>((std::min)(diff, 
uchar_max));
-        std::fill_n(this->offsets_, uchar_max + 1, this->length_);
+        std::fill_n(static_cast<unsigned char *>(this->offsets_), uchar_max + 
1, this->length_);
         --this->length_;
 
         icase ? this->init_(traits, case_fold()) : this->init_(traits, 
mpl::false_());


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to