aboutsummaryrefslogtreecommitdiff
path: root/src/tomo.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-10-19 14:42:49 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-10-19 14:42:49 -0400
commitc814ebe71f18514c381c33aef574df0edcd0adf2 (patch)
treed265aeafe66e85182822e365723f8ea5b181b526 /src/tomo.c
parenta97e85655baa105642de383d11e7e7d636ecca94 (diff)
Fix signed comparison issues
Diffstat (limited to 'src/tomo.c')
-rw-r--r--src/tomo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tomo.c b/src/tomo.c
index f260d528..01cf81c5 100644
--- a/src/tomo.c
+++ b/src/tomo.c
@@ -547,7 +547,7 @@ void compile_files(env_t *env, List_t to_compile, List_t *object_files, List_t *
Text_t filename_id = Text("");
Text_t base = Path$base_name(entry->filename);
TextIter_t state = NEW_TEXT_ITER_STATE(base);
- for (int64_t j = 0; j < base.length; j++) {
+ for (int64_t j = 0; j < (int64_t)base.length; j++) {
uint32_t c = Text$get_main_grapheme_fast(&state, j);
if (c == '.') break;
if (isalpha(c) || isdigit(c) || c == '_')