diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-02-19 07:15:19 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-02-19 07:15:19 +0000 |
commit | 401b8383079720fff1264c67f77b6d8dfc8d9b58 (patch) | |
tree | c0586ebcbe145816c7e9eef7cb3aba543e23b808 /src/md5.cpp | |
parent | 26bb069c535e3fd5b0e0fb28fb54a2a540b60a84 (diff) | |
download | libbu++-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.cpp | 2 |
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 | } |