[Libreoffice-commits] core.git: Branch 'feature/chart-opengl2' - sc/source

Michael Meeks michael.meeks at collabora.com
Sat Dec 28 14:47:44 PST 2013


 sc/source/ui/docshell/datastream.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 06c2aec4804ba3ca4171f8df4bd2c4f7683ce360
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Sat Dec 28 22:47:05 2013 +0000

    WaE: signedness issue.
    
    Change-Id: I91e20b0e107af3d5214d17c3bb04d22c9fce6cba

diff --git a/sc/source/ui/docshell/datastream.cxx b/sc/source/ui/docshell/datastream.cxx
index cec83fe..5852778 100644
--- a/sc/source/ui/docshell/datastream.cxx
+++ b/sc/source/ui/docshell/datastream.cxx
@@ -51,7 +51,7 @@ static double fTimes[DEBUG_TIME_MAX] = { 0.0, 0.0, 0.0 };
 
 double datastream_get_time(int nIdx)
 {
-    if( nIdx < 0 || nIdx > SAL_N_ELEMENTS( fTimes ) )
+    if( nIdx < 0 || nIdx > (int)SAL_N_ELEMENTS( fTimes ) )
         return -1;
     return fTimes[ nIdx ];
 }


More information about the Libreoffice-commits mailing list