From: Yang Tse Date: Fri, 26 Nov 2010 16:35:48 +0000 (+0100) Subject: xattr: fix compiler warning: enumerated type mixed with another type X-Git-Tag: curl-7_21_3~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5088e3709d7629eaa234315a02c1093a5d32562d;p=thirdparty%2Fcurl.git xattr: fix compiler warning: enumerated type mixed with another type --- diff --git a/src/xattr.c b/src/xattr.c index 3fc264a7e2..3af3282a27 100644 --- a/src/xattr.c +++ b/src/xattr.c @@ -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