commit 892ec48ad511f921fc19fbf2cdb86192c6716ce4
parent 2b50075f9145b2261566f0f67eb9f31523c7bd71
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 18 Jan 2020 20:14:39 +0100
minor style: use plain int for xml_entitytostr()
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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;