diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:27:37 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:27:37 +0000 |
commit | 5fe6ea1c4fd161e98bb4beb655478619036ed151 (patch) | |
tree | 9100aa00ade13a0885c219207cc3360752f3a652 /i18npool/source | |
parent | 6b4c3d2e35c177a0c67d2127666e30175c56540f (diff) |
INTEGRATION: CWS warningfixes02 (1.6.2); FILE MERGED
2006/06/30 11:57:36 sb 1.6.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'i18npool/source')
-rw-r--r-- | i18npool/source/breakiterator/gendict.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/i18npool/source/breakiterator/gendict.cxx b/i18npool/source/breakiterator/gendict.cxx index 03057bab267b..9b2461d5952a 100644 --- a/i18npool/source/breakiterator/gendict.cxx +++ b/i18npool/source/breakiterator/gendict.cxx @@ -4,9 +4,9 @@ * * $RCSfile: gendict.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2006-06-20 04:42:18 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:27:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -161,7 +161,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) break; } prev = charArray[(i*0x100) + j]; - fprintf(cfp, "0x%x, ", k < 0x10000 ? charArray[k] + 1 : 0); + fprintf( + cfp, "0x%lx, ", + sal::static_int_cast< unsigned long >( + k < 0x10000 ? charArray[k] + 1 : 0)); if ((j+1) % 0x10 == 0) fprintf (cfp, "\n\t"); } |