aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-29 08:43:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-29 08:43:21 +0000
commit46c2bc4bb67fefc63263468d6442f42570fdf237 (patch)
tree427233fa403782509ebf96fac85c96ccb821add0
parent3938e0f58b266ad0fac69e8bd20ca4323f8c8511 (diff)
typecase to please the compiler gods
-rw-r--r--lib/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/version.c b/lib/version.c
index 63ed63c41..651f895e1 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';