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

Michael Stahl mstahl at redhat.com
Fri May 9 09:39:54 PDT 2014


 sw/source/core/layout/dbg_lay.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ece80453d541f6bfb5ce170b3e0009ade968d8df
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri May 9 18:12:23 2014 +0200

    warning C4389: '==' : signed/unsigned mismatch
    
    Change-Id: Ie8bb8a422c2fdda85d2478dd029c2091267212c2

diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index 87779c4..5c56308 100644
--- a/sw/source/core/layout/dbg_lay.cxx
+++ b/sw/source/core/layout/dbg_lay.cxx
@@ -544,7 +544,7 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, sal_uLong nFunction, sal_uLong
                             break;
         case PROT_MOVE_FWD: bTmp = true; // NoBreak
         case PROT_MOVE_BWD:
-                            if (nFunction == (bTmp ? 1 : 0))
+                            if (nFunction == (bTmp ? 1U : 0U))
                                 aOut.append("Fwd");
                             else
                                 aOut.append("Bwd");


More information about the Libreoffice-commits mailing list