summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed.c b/sfeed.c
index 343e65e..4f96451 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -178,7 +178,7 @@ static FeedContext ctx;
static XMLParser parser; /* XML parser state */
static String atomlink;
-static int atomlinktype;
+static enum TagId atomlinktype;
static int rssidpermalink;
/* Unique tagid for parsed tag name. */
@@ -640,7 +640,7 @@ xmlattr(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl,
if (!vl || isattr(v, vl, STRP("alternate")))
atomlinktype = AtomTagLinkAlternate;
else
- atomlinktype = 0;
+ atomlinktype = TagUnknown;
} else if (ctx.tagid == AtomTagLink &&
isattr(n, nl, STRP("href"))) {
string_append(&atomlink, v, vl);