From 67a41c87d95ccedb6a0855518f398e1961e19750 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 29 May 2021 11:00:32 -0700 Subject: [PATCH] use an unsigned value for ingraphs error count Obviously the number of errors that has occurred can never be negative. An unsigned type more accurately indicates this. The only client of ingraphs that actually checks the error count is nop, so this change has very little effect. --- lib/ingraphs/ingraphs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ingraphs/ingraphs.h b/lib/ingraphs/ingraphs.h index ce63b61b6..22e48186a 100644 --- a/lib/ingraphs/ingraphs.h +++ b/lib/ingraphs/ingraphs.h @@ -40,7 +40,7 @@ extern "C" { void *fp; ingdisc *fns; char heap; - int errors; + unsigned errors; } ingraph_state; extern ingraph_state *newIngraph(ingraph_state *, char **, opengfn); -- 2.40.0