diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-07 10:52:48 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-08 13:53:02 +0200 |
commit | 17fcdf6a310d4c80762455ee9d5e4f52bd55c809 (patch) | |
tree | 747916b49eb0913ab3405ecb3b4484ad104e77d9 /tests/libtest/mk-lib1521.pl | |
parent | ad425d3e3e2e9b5325332f4b883cdcb23e3f071e (diff) | |
download | curl-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-x | tests/libtest/mk-lib1521.pl | 2 |
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); |