From: Daniel Stenberg Date: Fri, 29 Aug 2003 08:43:21 +0000 (+0000) Subject: typecase to please the compiler gods X-Git-Tag: curl-7_10_8~255 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46c2bc4bb67fefc63263468d6442f42570fdf237;p=thirdparty%2Fcurl.git typecase to please the compiler gods --- diff --git a/lib/version.c b/lib/version.c index 63ed63c416..651f895e11 100644 --- a/lib/version.c +++ b/lib/version.c @@ -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';