From 0fbb6e4016a360bc554c8d84e3b067aa72107437 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 1 Jul 2025 11:31:01 +0200 Subject: [PATCH] CURL_TIMECOND_IFMODSINCE --- tests/libtest/lib1511.c | 2 +- tests/libtest/lib1593.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/libtest/lib1511.c b/tests/libtest/lib1511.c index 9a84c8d509..5062cae32a 100644 --- a/tests/libtest/lib1511.c +++ b/tests/libtest/lib1511.c @@ -37,7 +37,7 @@ static CURLcode test_lib1511(char *URL) easy_setopt(curl, CURLOPT_URL, URL); easy_setopt(curl, CURLOPT_HEADER, 1L); - easy_setopt(curl, CURLOPT_TIMECONDITION, (long)CURL_TIMECOND_IFMODSINCE); + easy_setopt(curl, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE); /* TIMEVALUE in the future */ easy_setopt(curl, CURLOPT_TIMEVALUE, 1566210680L); diff --git a/tests/libtest/lib1593.c b/tests/libtest/lib1593.c index 803e410b90..44d8bf1e1d 100644 --- a/tests/libtest/lib1593.c +++ b/tests/libtest/lib1593.c @@ -40,7 +40,7 @@ static CURLcode test_lib1593(char *URL) easy_init(curl); easy_setopt(curl, CURLOPT_URL, URL); - easy_setopt(curl, CURLOPT_TIMECONDITION, (long)CURL_TIMECOND_IFMODSINCE); + easy_setopt(curl, CURLOPT_TIMECONDITION, CURL_TIMECOND_IFMODSINCE); /* Some TIMEVALUE; it doesn't matter. */ easy_setopt(curl, CURLOPT_TIMEVALUE, 1566210680L);