Fix compiler warnings

This commit is contained in:
Yang Tse
2006-07-19 21:14:02 +00:00
parent 4d2e81661b
commit d157c29269
6 changed files with 29 additions and 27 deletions

View File

@@ -1806,7 +1806,7 @@ size_t Curl_ossl_version(char *buffer, size_t size)
}
else {
if(ssleay_value&0xff0) {
sub[0]=(char)((ssleay_value>>4)&0xff) + 'a' -1;
sub[0]=(char)(((ssleay_value>>4)&0xff) + 'a' -1);
}
else
sub[0]='\0';