aboutsummaryrefslogtreecommitdiff
path: root/src/md5.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-02-19 07:15:19 +0000
committerMike Buland <eichlan@xagasoft.com>2011-02-19 07:15:19 +0000
commit401b8383079720fff1264c67f77b6d8dfc8d9b58 (patch)
treec0586ebcbe145816c7e9eef7cb3aba543e23b808 /src/md5.cpp
parent26bb069c535e3fd5b0e0fb28fb54a2a540b60a84 (diff)
downloadlibbu++-401b8383079720fff1264c67f77b6d8dfc8d9b58.tar.gz
libbu++-401b8383079720fff1264c67f77b6d8dfc8d9b58.tar.bz2
libbu++-401b8383079720fff1264c67f77b6d8dfc8d9b58.tar.xz
libbu++-401b8383079720fff1264c67f77b6d8dfc8d9b58.zip
MyriadFs is getting good!
Diffstat (limited to 'src/md5.cpp')
-rw-r--r--src/md5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/md5.cpp b/src/md5.cpp
index 71f17a0..15cba17 100644
--- a/src/md5.cpp
+++ b/src/md5.cpp
@@ -61,7 +61,7 @@ void Bu::Md5::addData( const void *sVData, int iSize )
61 unsigned char *p = (unsigned char *) inbuf + t; 61 unsigned char *p = (unsigned char *) inbuf + t;
62 62
63 t = 64 - t; 63 t = 64 - t;
64 if( iSize < t ) { 64 if( (uint32_t)iSize < t ) {
65 memcpy( p, sData, iSize ); 65 memcpy( p, sData, iSize );
66 return; 66 return;
67 } 67 }