From 433cfc10071ab149526cd9024c5bf3bf183fa5d2 Mon Sep 17 00:00:00 2001 From: Kevin Hendricks Date: Sat, 25 Mar 2023 10:32:35 -0400 Subject: [PATCH] fix up last Windows compiler warning --- src/char_ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/char_ref.c b/src/char_ref.c index e693e04..bb4a177 100644 --- a/src/char_ref.c +++ b/src/char_ref.c @@ -23037,7 +23037,7 @@ static bool consume_named_ref( if (cs >= 7623) { assert(output->first != kGumboNoChar); char last_char = *(te - 1); - int len = te - start; + int len = (int) (te - start); if (last_char == ';') { bool matched = utf8iterator_maybe_consume_match(input, start, len, true); assert(matched);