summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-07-25 18:44:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-07-26 07:59:24 +0200
commit803a7b659ea7149e61c9783e96981309a4196014 (patch)
tree974b1ec7f734e563ba29ebb00e3ba2531e3ab85e /i18npool
parentedb36ef2bf9cb58ea2c12f7e6374adac249bc7a5 (diff)
loplugin:redundantcast (clang-cl)
Change-Id: Iaf6cbe8dcfd107a66660746719b6b61e82a6ed0a Reviewed-on: https://gerrit.libreoffice.org/57998 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/breakiterator/gendict.cxx2
1 files changed, 1 insertions, 1 deletions
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