aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-11-26 17:35:48 +0100
committerYang Tse <yangsita@gmail.com>2010-11-26 17:35:48 +0100
commit5088e3709d7629eaa234315a02c1093a5d32562d (patch)
tree49cf9d67cc003246557fe1aaae0697d6b119dee5
parentc2ba8ca81f8d753a9ac3fdd94a1fb3ea53b64f84 (diff)
xattr: fix compiler warning: enumerated type mixed with another type
-rw-r--r--src/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xattr.c b/src/xattr.c
index 3fc264a7e..3af3282a2 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