[Libreoffice-commits] core.git: soltools/mkdepend

Stephan Bergmann sbergman at redhat.com
Tue Dec 9 01:39:11 PST 2014


 soltools/mkdepend/include.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b5e9d7e83419c1c7e143732ad162d6fc56882de8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Dec 9 10:38:41 2014 +0100

    warning C4267: conversion from 'size_t' to 'int' (MSVC 64-bit)
    
    Change-Id: Ife7d223f5e751e246c537561d3ce24395b4c9f3b

diff --git a/soltools/mkdepend/include.c b/soltools/mkdepend/include.c
index d1d05a3..4cfbff7 100644
--- a/soltools/mkdepend/include.c
+++ b/soltools/mkdepend/include.c
@@ -104,7 +104,7 @@ struct inclist *inc_path(char *file, char *include, boolean dot, struct Includes
         else
         {
             int partial = (p - file);
-            int inc_len = strlen(include);
+            size_t inc_len = strlen(include);
             if(inc_len + partial >= BUFSIZ )
             {
                 fatalerr("include filename too long \"%s\"\n", include);


More information about the Libreoffice-commits mailing list