summaryrefslogtreecommitdiff
path: root/tests/libtest/mk-lib1521.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-07 10:52:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-08 13:53:02 +0200
commit17fcdf6a310d4c80762455ee9d5e4f52bd55c809 (patch)
tree747916b49eb0913ab3405ecb3b4484ad104e77d9 /tests/libtest/mk-lib1521.pl
parentad425d3e3e2e9b5325332f4b883cdcb23e3f071e (diff)
downloadcurl-17fcdf6a310d4c80762455ee9d5e4f52bd55c809.tar.gz
lib: fix -Wassign-enum warnings
configure --enable-debug now enables -Wassign-enum with clang, identifying several enum "abuses" also fixed. Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/879007f8118771f4896334731aaca5850a154675#commitcomment-42087553 Closes #5929
Diffstat (limited to 'tests/libtest/mk-lib1521.pl')
-rwxr-xr-xtests/libtest/mk-lib1521.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/mk-lib1521.pl b/tests/libtest/mk-lib1521.pl
index e71fe1e51..9b57b64ee 100755
--- a/tests/libtest/mk-lib1521.pl
+++ b/tests/libtest/mk-lib1521.pl
@@ -297,7 +297,7 @@ while(<STDIN>) {
print <<FOOTER
- curl_easy_setopt(curl, 1, 0);
+ curl_easy_setopt(curl, (CURLoption)1, 0);
res = CURLE_OK;
test_cleanup:
curl_easy_cleanup(curl);