From ef768f45c84e5e73a4d21efdc71040497cb44f68 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 7 Mar 2026 16:55:23 +0100 Subject: [PATCH] first.c drop maybe redundant result cast? --- tests/libtest/first.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest/first.c b/tests/libtest/first.c index 9a82b7ee6e..fe72ab3561 100644 --- a/tests/libtest/first.c +++ b/tests/libtest/first.c @@ -286,5 +286,5 @@ int main(int argc, const char **argv) /* Regular program status codes are limited to 0..127 and 126 and 127 have * special meanings by the shell, so limit a normal return code to 125 */ - return (int)result <= 125 ? (int)result : 125; + return result <= 125 ? result : 125; }