summaryrefslogtreecommitdiff
path: root/idlc/source/idlccompile.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-06-17 11:48:48 +0000
committerRüdiger Timm <rt@openoffice.org>2004-06-17 11:48:48 +0000
commit634a3e70815fa4201056996aa0303ef9cf3a06d2 (patch)
treed3e85d71bb6cb999bd8570e03d109ca7a92dacdc /idlc/source/idlccompile.cxx
parentcd5204cb54c61d2342a1e9904053c8e09ec4eb6d (diff)
INTEGRATION: CWS ooo64bit01 (1.12.54); FILE MERGED
2004/05/02 00:41:59 svesik 1.12.54.2: RESYNC: (1.12-1.13); FILE MERGED 2004/03/16 23:54:09 fa 1.12.54.1: Merge cws_srx644_port64bit, other misc fixes
Diffstat (limited to 'idlc/source/idlccompile.cxx')
-rw-r--r--idlc/source/idlccompile.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx
index d1bafe2b9b4b..7d30f020d9ee 100644
--- a/idlc/source/idlccompile.cxx
+++ b/idlc/source/idlccompile.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: idlccompile.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: rt $ $Date: 2004-05-18 13:40:45 $
+ * last change: $Author: rt $ $Date: 2004-06-17 12:48:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -228,10 +228,10 @@ sal_Bool copyFile(const OString* source, const OString& target)
return sal_False;
}
- sal_uInt32 totalSize = 512;
- sal_uInt32 readSize = 0;
- sal_uInt32 writeSize = 0;
- sal_Char pBuffer[513];
+ size_t totalSize = 512;
+ size_t readSize = 0;
+ size_t writeSize = 0;
+ char pBuffer[513];
while ( !feof(pSource) )
{
@@ -352,7 +352,7 @@ sal_Int32 compileFile(const OString * pathname)
0, startDir.pData, 0, 0, &hProcess);
oslProcessInfo hInfo;
- hInfo.Size = sizeof(oslProcessInfo);
+ hInfo.Size = (sal_uInt32)(sizeof(oslProcessInfo));
OSL_VERIFY( osl_getProcessInfo(hProcess, osl_Process_EXITCODE, &hInfo) == osl_Process_E_None );
if ( procError || (hInfo.Code != 0) )