From 1eaf697ff857094a846c5d6e4611833383357c0a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 15 Nov 2021 17:55:51 -0800 Subject: [PATCH] htmllex.c: consistently use int types for 'warn' and 'error' Squashes a -Wconversion warning. --- lib/common/htmllex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/htmllex.c b/lib/common/htmllex.c index 53b1210c0..4a688a73c 100644 --- a/lib/common/htmllex.c +++ b/lib/common/htmllex.c @@ -40,8 +40,8 @@ typedef struct { int tok; // token type agxbuf* xb; // buffer to gather T_string data agxbuf lb; // buffer for translating lexical data - char warn; // set if warning given - char error; // set if error given + int warn; // set if warning given + int error; // set if error given char inCell; // set if in TD to allow T_string char mode; // for handling artificial .. char *currtok; // for error reporting -- 2.40.0