incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r1202504 - /incubator/ooo/trunk/main/tools/bootstrp/rscdep.cxx
Date Wed, 16 Nov 2011 01:47:16 GMT
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("	" );



Mime
View raw message