From 803a7b659ea7149e61c9783e96981309a4196014 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 25 Jul 2018 18:44:36 +0200 Subject: loplugin:redundantcast (clang-cl) Change-Id: Iaf6cbe8dcfd107a66660746719b6b61e82a6ed0a Reviewed-on: https://gerrit.libreoffice.org/57998 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- i18npool/source/breakiterator/gendict.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18npool') 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& lenA fputs("\n\t", source_fp); #ifndef DICT_JA_ZH_IN_DATAFILE - fprintf(source_fp, "0x%lx, ", static_cast(lenArray[k])); + fprintf(source_fp, "0x%" SAL_PRIxUINT32 ", ", lenArray[k]); #else fwrite(&lenArray[k], sizeof(lenArray[k]), 1, source_fp); #endif -- cgit