Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48631 - trunk/boost/spirit/home/classic/iterator/impl
From: joel_at_[hidden]
Date: 2008-09-06 11:22:21


Author: djowel
Date: 2008-09-06 11:22:21 EDT (Sat, 06 Sep 2008)
New Revision: 48631
URL: http://svn.boost.org/trac/boost/changeset/48631

Log:
workaround for sun compiler
Text files modified:
   trunk/boost/spirit/home/classic/iterator/impl/file_iterator.ipp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/spirit/home/classic/iterator/impl/file_iterator.ipp
==============================================================================
--- trunk/boost/spirit/home/classic/iterator/impl/file_iterator.ipp (original)
+++ trunk/boost/spirit/home/classic/iterator/impl/file_iterator.ipp 2008-09-06 11:22:21 EDT (Sat, 06 Sep 2008)
@@ -322,7 +322,7 @@
 
         ~mapping()
         {
- munmap(data, size);
+ munmap(static_cast<char*>(data), size);
         }
 
     private:
@@ -377,7 +377,7 @@
         }
         catch(...)
         {
- munmap(p, stat_buf.st_size);
+ munmap(static_cast<char*>(p), stat_buf.st_size);
             throw;
         }
 


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