aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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';