diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 12:20:53 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 12:20:53 +0000 |
commit | 2bb494e720a9a49779742090daf30761de5c950d (patch) | |
tree | 0b70620c1b540d4dedaeb7cf6f81521d29935014 /tools/bootstrp | |
parent | d9a070b54264cb51628f7640bd146f383acf8794 (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')
-rw-r--r-- | tools/bootstrp/md5.cxx | 7 |
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" ); |