oox/source/drawingml/shapepropertymap.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f3199b9ac677a93ee65a1f2df039458560efc020
Author: Matteo Casalin <matteo.casa...@yahoo.com>
Date:   Sun Mar 9 00:14:11 2014 +0100

    Fix signed/unsigned comparison
    
    Change-Id: Iedc3b5c20b5f47117f29dcbeaf84efacbd4ce497

diff --git a/oox/source/drawingml/shapepropertymap.cxx 
b/oox/source/drawingml/shapepropertymap.cxx
index 5a90875..21281cdd 100644
--- a/oox/source/drawingml/shapepropertymap.cxx
+++ b/oox/source/drawingml/shapepropertymap.cxx
@@ -64,7 +64,8 @@ ShapePropertyInfo::ShapePropertyInfo( const sal_Int32* 
pnPropertyIds,
     mbNamedFillBitmapUrl( bNamedFillBitmapUrl )
 {
     assert(pnPropertyIds);
-    for(size_t i = 0; i < PROP_COUNT; ++i) // normally we should not reach 
PROP_COUNT but it prevents infinite loops if we hit a bug
+    // normally we should not reach PROP_COUNT but it prevents infinite loops 
if we hit a bug
+    for(size_t i = 0; i < static_cast<size_t>(PROP_COUNT); ++i)
     {
         if(pnPropertyIds[i] == PROP_END_LIST)
             break;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to