Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55520 - branches/release/boost/interprocess
From: igaztanaga_at_[hidden]
Date: 2009-08-11 04:43:00


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

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

Modified: branches/release/boost/interprocess/mapped_region.hpp
==============================================================================
--- branches/release/boost/interprocess/mapped_region.hpp (original)
+++ branches/release/boost/interprocess/mapped_region.hpp 2009-08-11 04:42:59 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