commit 5aecfb4319c42788f1147ed02c6a40374cc2776d
parent 1bfb967de86a88902bd6d4a71b99d691e7648276
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Sun, 1 Mar 2026 15:06:08 +0100
Fixed UBSan failure (with clang)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tests/raw/test_incompatible.c b/src/tests/raw/test_incompatible.c
@@ -800,7 +800,7 @@ run_test ()
strlen (current->upload));
shutdown (s,
SHUT_WR);
- if (sizeof (dummy) !=
+ if (((ssize_t) sizeof (dummy)) !=
read (s,
&dummy,
sizeof (dummy)))