summaryrefslogtreecommitdiff
path: root/tools/bootstrp/md5.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 12:20:53 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 12:20:53 +0000
commit2bb494e720a9a49779742090daf30761de5c950d (patch)
tree0b70620c1b540d4dedaeb7cf6f81521d29935014 /tools/bootstrp/md5.cxx
parentd9a070b54264cb51628f7640bd146f383acf8794 (diff)
INTEGRATION: CWS warnings01 (1.4.8); FILE MERGED
2005/10/14 11:19:22 sb 1.4.8.1: #i53898# Made code warning-free; cleanup.
Diffstat (limited to 'tools/bootstrp/md5.cxx')
-rw-r--r--tools/bootstrp/md5.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/bootstrp/md5.cxx b/tools/bootstrp/md5.cxx
index d78fba546455..af4466435632 100644
--- a/tools/bootstrp/md5.cxx
+++ b/tools/bootstrp/md5.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: md5.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 13:30:41 $
+ * last change: $Author: hr $ $Date: 2006-06-19 13:20:53 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -35,6 +35,7 @@
#include "md5.hxx"
+#include <cstddef>
#include <stdio.h>
#include <string.hxx>
@@ -74,7 +75,7 @@ rtlDigestError calc_md5_checksum( const char *filename, ByteString &aChecksum )
rtl_digest_destroyMD5( digest );
- for ( int i = 0; i < sizeof(checksum); i++ )
+ for ( std::size_t i = 0; i < sizeof(checksum); i++ )
{
if ( checksum[i] < 16 )
aChecksum.Append( "0" );