]> granicus.if.org Git - curl/commitdiff
xattr: fix compiler warning: enumerated type mixed with another type
authorYang Tse <yangsita@gmail.com>
Fri, 26 Nov 2010 16:35:48 +0000 (17:35 +0100)
committerYang Tse <yangsita@gmail.com>
Fri, 26 Nov 2010 16:35:48 +0000 (17:35 +0100)
src/xattr.c

index 3fc264a7e29e43a7e20d3fe69df60ae1d8945cce..3af3282a272f1570f640e08b41b72dd8247f9585 100644 (file)
@@ -40,7 +40,7 @@ static const struct xattr_mapping {
    */
   { "user.xdg.origin.url", CURLINFO_EFFECTIVE_URL },
   { "user.mime_type", CURLINFO_CONTENT_TYPE },
-  { NULL, 0 } /* last element, abort loop here */
+  { NULL, CURLINFO_NONE } /* last element, abort loop here */
 };
 
 /* store metadata from the curl request alongside the downloaded