From 899f39f59e97988bc45961d1e019f9c8ff4ce64f Mon Sep 17 00:00:00 2001 From: night0721 Date: Wed, 2 Oct 2024 15:24:35 +0100 Subject: [PATCH] Replace stdout with STDOUT_FILENO const. --- ace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ace.c b/ace.c index a1cc33d..654c1db 100644 --- a/ace.c +++ b/ace.c @@ -64,7 +64,7 @@ int main() } printf("\nHit (h) or stand (s)? "); - fflush(stdout); + fflush(STDOUT_FILENO); char action; read(STDIN_FILENO, &action, 1);