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);