From 1e78c296f3fd0dc3269424630810417e66a4994e Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 11 Oct 2021 18:14:09 -0400 Subject: [PATCH] remove a warning with gcc on Windows "braces around scalar initializer" --- sys/windows/consoletty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/windows/consoletty.c b/sys/windows/consoletty.c index d9031c0b3..6e075ffe7 100644 --- a/sys/windows/consoletty.c +++ b/sys/windows/consoletty.c @@ -248,8 +248,8 @@ struct console_t { 0, /* height */ FALSE, /* has_unicode */ 0, /* buffer_size */ - { 0 }, /* front_buffer */ - { 0 }, /* back_buffer */ + NULL, /* front_buffer */ + NULL, /* back_buffer */ { 0 }, /* cpMap */ FALSE, /* font_changed */ { 0 }, /* orig_font_info */