summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-04-03 14:39:48 +0200
committerEike Rathke <erack@redhat.com>2013-04-03 21:19:24 +0200
commitf8e697abc35a3fb910859a26a23d8e3a9de6753e (patch)
treecea08c833d974fa5af4622ef66dd9b3d0fc4e950 /rsc
parente61d41ea3510a9abf40f2cb6a7b8c6009d2513db (diff)
correct number of format operands for fprintf
Change-Id: I4fbfd3cacaa87ed1a8faa123a269d82f82ba22da
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/parser/rscibas.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx
index a2a5d1567278..194c9740f80c 100644
--- a/rsc/source/parser/rscibas.cxx
+++ b/rsc/source/parser/rscibas.cxx
@@ -83,9 +83,9 @@ void RscLangEnum::Init( RscNameTable& rNames )
while ( NULL != ( pLangEntry = MsLangId::getIsoLangEntry( nIndex )) && ( pLangEntry->mnLang != LANGUAGE_DONTKNOW ))
{
#if OSL_DEBUG_LEVEL > 2
- fprintf( stderr, "ISO Language in : %d\n",
+ fprintf( stderr, "ISO Language in : %d, 0x%04x, %s\n",
(int)nIndex,
- pLangEntry->mnLang,
+ (unsigned)pLangEntry->mnLang,
OUStringToOString( LanguageTag( pLangEntry->mnLang ).getBcp47(), RTL_TEXTENCODING_ASCII_US).getStr() );
#endif
rtl::OString aLang(pLangEntry->maLangStr, strlen(pLangEntry->maLangStr));