[Libreoffice-commits] core.git: slideshow/source

Stephan Bergmann sbergman at redhat.com
Fri Dec 2 15:20:49 UTC 2016


 slideshow/source/engine/opengl/TransitionImpl.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7915c9087ca6c77f08e394f1dbcc03fc9a4027e3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Dec 2 16:20:19 2016 +0100

    warning C4018: '<' : signed/unsigned mismatch
    
    Change-Id: I5e6a6debf01886c283f5a2d6b9cacc00a44f7134

diff --git a/slideshow/source/engine/opengl/TransitionImpl.hxx b/slideshow/source/engine/opengl/TransitionImpl.hxx
index f27fd77..9ee73dd 100644
--- a/slideshow/source/engine/opengl/TransitionImpl.hxx
+++ b/slideshow/source/engine/opengl/TransitionImpl.hxx
@@ -338,7 +338,7 @@ public:
 
     int getVerticesCount() const
     {
-        assert(Vertices.size() < std::numeric_limits<int>::max());
+        assert(Vertices.size() < unsigned(std::numeric_limits<int>::max()));
         return int(unsigned(Vertices.size()));
     }
 


More information about the Libreoffice-commits mailing list