From 61c710742061ba6d176198d5e0b7dd8720f5fe56 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 14 Feb 2009 16:26:45 +0000 Subject: [PATCH] 1454 --- src/testzzuf/daemontest_long_header.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/testzzuf/daemontest_long_header.c b/src/testzzuf/daemontest_long_header.c index e24f8ec4..99b9e5e3 100644 --- a/src/testzzuf/daemontest_long_header.c +++ b/src/testzzuf/daemontest_long_header.c @@ -109,7 +109,8 @@ testLongUrlGet () &ahc_echo, "GET", MHD_OPTION_CONNECTION_MEMORY_LIMIT, - VERY_LONG / 2, MHD_OPTION_END); + (size_t) (VERY_LONG / 2), MHD_OPTION_END); + if (d == NULL) return 1; zzuf_socat_start (); @@ -170,7 +171,7 @@ testLongHeaderGet () &ahc_echo, "GET", MHD_OPTION_CONNECTION_MEMORY_LIMIT, - VERY_LONG / 2, MHD_OPTION_END); + (size_t) (VERY_LONG / 2), MHD_OPTION_END); if (d == NULL) return 16; zzuf_socat_start ();