typecase to please the compiler gods

This commit is contained in:
Daniel Stenberg 2003-08-29 08:43:21 +00:00
parent 3938e0f58b
commit 46c2bc4bb6
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ static void getssl_version(char *ptr, long *num)
}
else {
if(ssleay_value&0xff0) {
sub[0]=((ssleay_value>>4)&0xff) + 'a' -1;
sub[0]=(char)((ssleay_value>>4)&0xff) + 'a' -1;
}
else
sub[0]='\0';