aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/persistant.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/persistant.c')
-rw-r--r--docs/examples/persistant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/persistant.c b/docs/examples/persistant.c
index 673889914..3d75b9ebe 100644
--- a/docs/examples/persistant.c
+++ b/docs/examples/persistant.c
@@ -21,8 +21,8 @@ int main(int argc, char **argv)
curl = curl_easy_init();
if(curl) {
- curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
- curl_easy_setopt(curl, CURLOPT_HEADER, 1);
+ curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
+ curl_easy_setopt(curl, CURLOPT_HEADER, 1L);
/* get the first document */
curl_easy_setopt(curl, CURLOPT_URL, "http://curl.haxx.se/");