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

Stephan Bergmann sbergman at redhat.com
Mon Feb 27 11:56:36 UTC 2017


 hwpfilter/source/hcode.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e74152d0744ebc63612dcfc0d375671eebf35141
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Feb 27 12:56:06 2017 +0100

    loplugin:loopvartoosmall
    
    Change-Id: If630131272b5ed4c589ed76be340a4107632c461

diff --git a/hwpfilter/source/hcode.cxx b/hwpfilter/source/hcode.cxx
index e9a088c..41fb6d3 100644
--- a/hwpfilter/source/hcode.cxx
+++ b/hwpfilter/source/hcode.cxx
@@ -1304,7 +1304,7 @@ char *hcolor2str(uchar color, uchar shade, char *buf, bool bIsChar)
 ::std::string urltounix(const char *src)
 {
     ::std::string ret;
-    unsigned int i = 0;
+    std::size_t i = 0;
     if( src[0] == 'C' && src[1] == ':' && src[2] == '\\' ) // Home Dir
     {
         ret.append("file://");


More information about the Libreoffice-commits mailing list