aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/debug.c')
-rw-r--r--docs/examples/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/debug.c b/docs/examples/debug.c
index 6f7a6383a..543a565eb 100644
--- a/docs/examples/debug.c
+++ b/docs/examples/debug.c
@@ -116,7 +116,7 @@ int main(void)
curl_easy_setopt(curl, CURLOPT_DEBUGDATA, &config);
/* the DEBUGFUNCTION has no effect until we enable VERBOSE */
- curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
+ curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
curl_easy_setopt(curl, CURLOPT_URL, "curl.haxx.se");
res = curl_easy_perform(curl);