From a9705e9cfb75075b04711cdc6532fbe880ffd20b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 22 Aug 2025 13:50:39 +0200 Subject: [PATCH] examples: make `CURLPIPE_MULTIPLEX` fallback `long` Closes #18356 --- docs/examples/http2-download.c | 2 +- docs/examples/http2-upload.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/http2-download.c b/docs/examples/http2-download.c index 4a249fa979..ac9b9a082e 100644 --- a/docs/examples/http2-download.c +++ b/docs/examples/http2-download.c @@ -42,7 +42,7 @@ /* This little trick makes sure that we do not enable pipelining for libcurls old enough to not have this symbol. It is _not_ defined to zero in a recent libcurl header. */ -#define CURLPIPE_MULTIPLEX 0 +#define CURLPIPE_MULTIPLEX 0L #endif struct transfer { diff --git a/docs/examples/http2-upload.c b/docs/examples/http2-upload.c index c24e5937c1..c033b0b685 100644 --- a/docs/examples/http2-upload.c +++ b/docs/examples/http2-upload.c @@ -55,7 +55,7 @@ /* This little trick makes sure that we do not enable pipelining for libcurls old enough to not have this symbol. It is _not_ defined to zero in a recent libcurl header. */ -#define CURLPIPE_MULTIPLEX 0 +#define CURLPIPE_MULTIPLEX 0L #endif #define NUM_HANDLES 1000 -- 2.47.3