From: Matthew Fernandez Date: Tue, 16 Nov 2021 01:55:51 +0000 (-0800) Subject: htmllex.c: consistently use int types for 'warn' and 'error' X-Git-Tag: 3.0.0~145^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1eaf697ff857094a846c5d6e4611833383357c0a;p=graphviz htmllex.c: consistently use int types for 'warn' and 'error' Squashes a -Wconversion warning. --- 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