Two casts to please gcc 4

This commit is contained in:
mainzelm 2006-03-23 07:57:10 +00:00
parent 842fc396b8
commit fbfe81aa85
1 changed files with 2 additions and 2 deletions

View File

@ -314,7 +314,7 @@ static s48_value MD5Init_stub(s48_value sch_context){
static s48_value MD5Update_stub (s48_value sch_context, s48_value input){ static s48_value MD5Update_stub (s48_value sch_context, s48_value input){
MD5Update (extract_context (sch_context), MD5Update (extract_context (sch_context),
s48_extract_string (input), (unsigned char*) s48_extract_string (input),
S48_STRING_LENGTH (input)); S48_STRING_LENGTH (input));
return S48_UNSPECIFIC; return S48_UNSPECIFIC;
} }
@ -323,7 +323,7 @@ static s48_value MD5Final_stub (s48_value sch_context){
unsigned char digest[16]; unsigned char digest[16];
MD5Final (digest, extract_context (sch_context)); MD5Final (digest, extract_context (sch_context));
return (s48_enter_substring (digest, 16)); return s48_enter_substring ((char*) digest, 16);
} }