Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55521 - trunk/boost/interprocess
From: igaztanaga_at_[hidden]
Date: 2009-08-11 04:43:31


Author: igaztanaga
Date: 2009-08-11 04:43:30 EDT (Tue, 11 Aug 2009)
New Revision: 55521
URL: http://svn.boost.org/trac/boost/changeset/55521

Log:
Remove signed/unsigned warning
Text files modified:
   trunk/boost/interprocess/mapped_region.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/interprocess/mapped_region.hpp
==============================================================================
--- trunk/boost/interprocess/mapped_region.hpp (original)
+++ trunk/boost/interprocess/mapped_region.hpp 2009-08-11 04:43:30 EDT (Tue, 11 Aug 2009)
@@ -449,7 +449,7 @@
          throw interprocess_exception(err);
       }
       std::size_t filesize = (std::size_t)buf.st_size;
- if(offset >= filesize){
+ if((std::size_t)offset >= filesize){
          error_info err(size_error);
          throw interprocess_exception(err);
       }


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