diff options
Diffstat (limited to '')
-rw-r--r-- | keyserver/curl-shim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c index 4a4d18f56..8c7c36539 100644 --- a/keyserver/curl-shim.c +++ b/keyserver/curl-shim.c @@ -306,7 +306,7 @@ curl_escape(char *str,int length) else { char numbuf[5]; - sprintf(numbuf,"%%%02X",str[idx]); + sprintf(numbuf,"%%%02X",(unsigned char)str[idx]); strcpy(&enc[enc_idx],numbuf); enc_idx+=3; } |