summaryrefslogtreecommitdiff
path: root/src/md5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/md5.cpp')
-rw-r--r--src/md5.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/md5.cpp b/src/md5.cpp
index aa965ed..44e8519 100644
--- a/src/md5.cpp
+++ b/src/md5.cpp
@@ -55,8 +55,10 @@ void Bu::Md5::setSalt( const Bu::FString & /*sSalt*/ )
55{ 55{
56} 56}
57 57
58void Bu::Md5::addData( const char *sData, int iSize ) 58void Bu::Md5::addData( const void *sVData, int iSize )
59{ 59{
60 const char *sData = (const char *)sVData;
61
60 int iInPos = 0; 62 int iInPos = 0;
61 for(;;) 63 for(;;)
62 { 64 {