From 043cad6c3fe1b2357811db9ded6d8d6c1cd0be4b Mon Sep 17 00:00:00 2001 From: Virgile Prevosto <virgile.prevosto@m4x.org> Date: Thu, 9 Mar 2023 19:21:35 +0100 Subject: [PATCH] [machdep] fix inverted condition --- src/kernel_internals/runtime/machdep.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel_internals/runtime/machdep.ml b/src/kernel_internals/runtime/machdep.ml index 073cc1d8dee..154d2406396 100644 --- a/src/kernel_internals/runtime/machdep.ml +++ b/src/kernel_internals/runtime/machdep.ml @@ -171,8 +171,8 @@ let gen_va_list_repr fmt mach = let gen_char_unsigned_flag fmt mach = let macro = "__CHAR_UNSIGNED__" in - if mach.char_is_unsigned then gen_undef fmt macro - else gen_define_string fmt macro "1" + if mach.char_is_unsigned then gen_define_string fmt macro "1" + else gen_undef fmt macro let gen_sizeof_std fmt mach = gen_sizeof fmt "SHORT" mach.sizeof_short; -- GitLab