Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65365 - sandbox/gil/boost/gil/extension/io2
From: dsaritz_at_[hidden]
Date: 2010-09-09 13:49:06


Author: psiha
Date: 2010-09-09 13:49:05 EDT (Thu, 09 Sep 2010)
New Revision: 65365
URL: http://svn.boost.org/trac/boost/changeset/65365

Log:
Fixed a warning caused by the WIC backend.
Text files modified:
   sandbox/gil/boost/gil/extension/io2/formatted_image.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/gil/boost/gil/extension/io2/formatted_image.hpp
==============================================================================
--- sandbox/gil/boost/gil/extension/io2/formatted_image.hpp (original)
+++ sandbox/gil/boost/gil/extension/io2/formatted_image.hpp 2010-09-09 13:49:05 EDT (Thu, 09 Sep 2010)
@@ -521,7 +521,7 @@
 
     bool formats_mismatch( typename formatted_image_traits<Impl>::format_t const other_format ) const
     {
- return other_format != impl().closest_gil_supported_format();
+ return static_cast<bool>( other_format != impl().closest_gil_supported_format() );
     }
 
     template <class View>


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