Skip to content

Commit 05f7f97

Browse files
committed
FIX: warning: incompatible integer to pointer conversion
1 parent 99cfd18 commit 05f7f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/posix/dev-stdio.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ static void Close_StdIO_Local(void)
364364
**
365365
***********************************************************************/
366366
{
367-
fflush(Std_Out);
367+
fflush(Std_Out == STDOUT_FILENO ? stdout : stderr);
368368
if (Std_Echo) {
369369
fflush(Std_Echo);
370370
}

0 commit comments

Comments
 (0)