summaryrefslogtreecommitdiff
path: root/i18npool/source/localedata/LocaleNode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/localedata/LocaleNode.cxx')
-rw-r--r--i18npool/source/localedata/LocaleNode.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx
index e5123969644c..da2acce25ba4 100644
--- a/i18npool/source/localedata/LocaleNode.cxx
+++ b/i18npool/source/localedata/LocaleNode.cxx
@@ -156,9 +156,9 @@ OUString LocaleNode::writeParameterCheckLen( const OFileWriter &of,
if (nLen < nMinLen)
{
++nError;
- fprintf( stderr, "Error: less than %ld character%s (%ld) in %s '%s'.\n",
- sal::static_int_cast< long >(nMinLen), (nMinLen > 1 ? "s" : ""),
- sal::static_int_cast< long >(nLen),
+ fprintf( stderr, "Error: less than %" SAL_PRIdINT32 " character%s (%" SAL_PRIdINT32 ") in %s '%s'.\n",
+ nMinLen, (nMinLen > 1 ? "s" : ""),
+ nLen,
(pNode ? OSTR( pNode->getName()) : ""),
OSTR( aVal));
}