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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jul 26 05:59:52 UTC 2018


 i18npool/source/breakiterator/gendict.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 803a7b659ea7149e61c9783e96981309a4196014
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jul 25 18:44:36 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 26 07:59:24 2018 +0200

    loplugin:redundantcast (clang-cl)
    
    Change-Id: Iaf6cbe8dcfd107a66660746719b6b61e82a6ed0a
    Reviewed-on: https://gerrit.libreoffice.org/57998
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/i18npool/source/breakiterator/gendict.cxx b/i18npool/source/breakiterator/gendict.cxx
index 677ea49812af..3d373229da17 100644
--- a/i18npool/source/breakiterator/gendict.cxx
+++ b/i18npool/source/breakiterator/gendict.cxx
@@ -174,7 +174,7 @@ static inline void printLenArray(FILE* source_fp, const vector<sal_uInt32>& lenA
             fputs("\n\t", source_fp);
 
 #ifndef DICT_JA_ZH_IN_DATAFILE
-        fprintf(source_fp, "0x%lx, ", static_cast<long unsigned int>(lenArray[k]));
+        fprintf(source_fp, "0x%" SAL_PRIxUINT32 ", ", lenArray[k]);
 #else
         fwrite(&lenArray[k], sizeof(lenArray[k]), 1, source_fp);
 #endif


More information about the Libreoffice-commits mailing list