gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 249/256: libcurl-tutorial: add casts in example to


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 249/256: libcurl-tutorial: add casts in example to avoid compilation warnings.
Date: Fri, 06 Oct 2017 19:45:40 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit ff6774ea6a03ae193f92e7175e9b96aaffb3f44c
Author: Patrick Monnerat <address@hidden>
AuthorDate: Tue Oct 3 11:03:46 2017 +0100

    libcurl-tutorial: add casts in example to avoid compilation warnings.
---
 docs/libcurl/libcurl-tutorial.3 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/libcurl/libcurl-tutorial.3 b/docs/libcurl/libcurl-tutorial.3
index e93972424..187d5ca0f 100644
--- a/docs/libcurl/libcurl-tutorial.3
+++ b/docs/libcurl/libcurl-tutorial.3
@@ -523,7 +523,8 @@ multiple files posting is deprecated by RFC 7578, chapter 
4.3.
 To set the data source from an already opened FILE pointer, use:
 
 .nf
- curl_mime_data_cb(part, filesize, fread, fseek, NULL, filepointer);
+ curl_mime_data_cb(part, filesize, (curl_read_callback) fread,
+                   (curl_seek_callback) fseek, NULL, filepointer);
 .fi
 
 A deprecated \fIcurl_formadd(3)\fP function is still supported in libcurl.

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]