summaryrefslogtreecommitdiff
path: root/sfeed.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-01-18 20:14:39 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-01-18 20:14:39 +0100
commit892ec48ad511f921fc19fbf2cdb86192c6716ce4 (patch)
treef110be379d2b04d42b0b631a803a184318534ece /sfeed.c
parent2b50075f9145b2261566f0f67eb9f31523c7bd71 (diff)
minor style: use plain int for xml_entitytostr()
Diffstat (limited to 'sfeed.c')
-rw-r--r--sfeed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed.c b/sfeed.c
index d44b3fd..804839c 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -672,7 +672,7 @@ xmlattrentity(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl,
const char *data, size_t datalen)
{
char buf[16];
- ssize_t len;
+ int len;
/* handles transforming inline XML to data */
if (ISINCONTENT(ctx)) {
@@ -744,7 +744,7 @@ static void
xmldataentity(XMLParser *p, const char *data, size_t datalen)
{
char buf[16];
- ssize_t len;
+ int len;
if (!ctx.field)
return;