summaryrefslogtreecommitdiff
path: root/res/res_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_crypto.c')
-rw-r--r--res/res_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_crypto.c b/res/res_crypto.c
index 30c51194a..22b82dc34 100644
--- a/res/res_crypto.c
+++ b/res/res_crypto.c
@@ -532,7 +532,7 @@ static void md52sum(char *sum, unsigned char *md5)
{
int x;
for (x = 0; x < 16; x++) {
- sum += sprintf(sum, "%02x", *(md5++));
+ sum += sprintf(sum, "%02x", (unsigned)*(md5++));
}
}