aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/examples/sslbackend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/sslbackend.c b/docs/examples/sslbackend.c
index c1489a9aa..bbfa81738 100644
--- a/docs/examples/sslbackend.c
+++ b/docs/examples/sslbackend.c
@@ -56,7 +56,7 @@ int main(int argc, char **argv)
return 0;
}
- else if(isdigit(*name)) {
+ else if(isdigit((int)(unsigned char)*name)) {
int id = atoi(name);
result = curl_global_sslset((curl_sslbackend)id, NULL, NULL);