mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-04 17:05:40 +00:00
Fix build
CC curses.o cc1: warnings being treated as errors /src/qemu/curses.c: In function 'curses_display_init': /src/qemu/curses.c:341: error: initialization from incompatible pointer type Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
7
curses.c
7
curses.c
@ -294,16 +294,11 @@ static void curses_refresh(DisplayState *ds)
|
||||
}
|
||||
}
|
||||
|
||||
static void curses_cleanup(void *opaque)
|
||||
static void curses_atexit(Notifier *notifier)
|
||||
{
|
||||
endwin();
|
||||
}
|
||||
|
||||
static void curses_atexit(void)
|
||||
{
|
||||
curses_cleanup(NULL);
|
||||
}
|
||||
|
||||
static void curses_setup(void)
|
||||
{
|
||||
int i, colour_default[8] = {
|
||||
|
||||
Reference in New Issue
Block a user