From 49ce3e5160a9576e797bf87cef012b09d1c54ecb Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 12 Jul 2007 21:11:10 +0000 Subject: Fixed some compile warnings and errors and improved portability in the examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer. --- docs/examples/multithread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/examples/multithread.c') diff --git a/docs/examples/multithread.c b/docs/examples/multithread.c index fc9a9a87c..78c3a157a 100644 --- a/docs/examples/multithread.c +++ b/docs/examples/multithread.c @@ -24,7 +24,7 @@ http://www.openssl.org/docs/crypto/threads.html#DESCRIPTION */ -char *urls[]= { +const char *urls[]= { "http://curl.haxx.se/", "ftp://cool.haxx.se/", "http://www.contactor.se/", @@ -59,7 +59,7 @@ int main(int argc, char **argv) error = pthread_create(&tid[i], NULL, /* default attributes please */ pull_one_url, - urls[i]); + (void *)urls[i]); if(0 != error) fprintf(stderr, "Couldn't run thread number %d, errno %d\n", i, error); else -- cgit v1.2.3