scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit c33bb747ce4428caec05c620d81dc1fbf8aaaa37
parent eddfeb0f04c1637175408192a13b9f296eebff57
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Thu, 23 Apr 2026 10:39:00 +0200

tests/libc: Remove cast in 0069-mktime

Diffstat:
Mtests/libc/execute/0069-mktime.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/libc/execute/0069-mktime.c b/tests/libc/execute/0069-mktime.c @@ -191,7 +191,7 @@ main(void) if (tp->fail) { printf("tm_wday=%d, tm_yday=%d\n", tp->tm.tm_wday, tp->tm.tm_yday); - puts(t == (time_t) -1 ? "failed" : "not failed"); + puts(t == -1 ? "failed" : "not failed"); continue; } printf("tm_sec=%2d, "