You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2011/11/16 02:47:16 UTC
svn commit: r1202504 - /incubator/ooo/trunk/main/tools/bootstrp/rscdep.cxx
Author: pfg
Date: Wed Nov 16 01:47:16 2011
New Revision: 1202504
URL: http://svn.apache.org/viewvc?rev=1202504&view=rev
Log:
Fix WoE. Reported by Raphael Bircher.
Modified:
incubator/ooo/trunk/main/tools/bootstrp/rscdep.cxx
Modified: incubator/ooo/trunk/main/tools/bootstrp/rscdep.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/tools/bootstrp/rscdep.cxx?rev=1202504&r1=1202503&r2=1202504&view=diff
==============================================================================
--- incubator/ooo/trunk/main/tools/bootstrp/rscdep.cxx (original)
+++ incubator/ooo/trunk/main/tools/bootstrp/rscdep.cxx Wed Nov 16 01:47:16 2011
@@ -93,7 +93,7 @@ int main( int argc, char** argv )
strcpy( aBuf, (const char *)argv[i] );
const sal_Int32 nLength (strlen(aBuf));
- printf("option %d is [%s] and has length %d\n", i, aBuf, nLength);
+ printf("option %d is [%s] and has length %d\n", i, aBuf, (int)nLength);
if (nLength == 0)
{
@@ -263,7 +263,7 @@ int main( int argc, char** argv )
for (sal_Int32 nIndex=0; nIndex<=nLastNonOption; ++nIndex)
{
- printf("option at %d is [%s]\n", nIndex, argv[nIndex]);
+ printf("option at %d is [%s]\n", (int)nIndex, argv[nIndex]);
if (!bSource )
{
aString += ByteString(" " );