From db78320b4d20185e1a2155d056d9aa32c93940f8 Mon Sep 17 00:00:00 2001 From: jaime-m-p <> Date: Tue, 13 Aug 2024 21:19:18 +0200 Subject: [PATCH] Fix compiler complaints --- src/unicode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unicode.cpp b/src/unicode.cpp index 2c98676a8..7bd10f50b 100644 --- a/src/unicode.cpp +++ b/src/unicode.cpp @@ -576,7 +576,7 @@ namespace std { string_type transform_primary(It first, It last) const { (void) first; (void) last; - GGML_ASSERT(*first < MAX_CODEPOINTS); // valid codepoint + GGML_ASSERT((uint32_t) *first < MAX_CODEPOINTS); // check valid codepoint return {}; }