aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/sslbackend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/sslbackend.c b/docs/examples/sslbackend.c
index 1483dcc2e..c1489a9aa 100644
--- a/docs/examples/sslbackend.c
+++ b/docs/examples/sslbackend.c
@@ -57,9 +57,9 @@ int main(int argc, char **argv)
return 0;
}
else if(isdigit(*name)) {
- curl_sslbackend id = (curl_sslbackend)atoi(name);
+ int id = atoi(name);
- result = curl_global_sslset(id, NULL, NULL);
+ result = curl_global_sslset((curl_sslbackend)id, NULL, NULL);
}
else
result = curl_global_sslset(-1, name, NULL);