From 267518fe3a77aee9bf00c4140b37c7779d652264 Mon Sep 17 00:00:00 2001 From: nova Date: Wed, 5 Aug 2026 23:40:08 +0200 Subject: [PATCH] explicit sign on result as chars are implicitly unsigned on riscv --- sorting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sorting.c b/sorting.c index 58a1b23..4bea4f5 100644 --- a/sorting.c +++ b/sorting.c @@ -38,7 +38,7 @@ int sort_natural(const void *file0, const void *file1){ long parsed_number0 = 0; long parsed_number1 = 0; char is_num = 0; - char result = 0; + signed char result = 0; do {