]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib1560: fix enumerated type mixed with another type
authorDaniel Stenberg <daniel@haxx.se>
Sun, 5 Mar 2023 23:09:19 +0000 (00:09 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Mar 2023 07:14:42 +0000 (08:14 +0100)
Follow-up to c84c0f9aa3bb006

Closes #10684

tests/libtest/lib1560.c

index 634dd497a968519b90f4e3393ae4adaa1d17dc3c..de9998d9718f758eb941a34d0cb49a0a1746ec15 100644 (file)
@@ -1430,7 +1430,7 @@ static int huge(void)
   int i;
   CURLU *urlp = curl_url();
   CURLUcode rc;
-  char part[]= {
+  CURLUPart part[]= {
     CURLUPART_SCHEME,
     CURLUPART_USER,
     CURLUPART_PASSWORD,