Fix emu memset initialization

This commit is contained in:
Rodrigo Arias 2021-08-10 12:08:33 +02:00
parent 9ea58831cd
commit aa3607f744

2
emu.c
View File

@ -576,7 +576,7 @@ write_row_cpu(struct ovni_emu *emu)
static void static void
emu_init(struct ovni_emu *emu, int argc, char *argv[]) emu_init(struct ovni_emu *emu, int argc, char *argv[])
{ {
memset(emu, 0, sizeof(emu)); memset(emu, 0, sizeof(*emu));
parse_args(emu, argc, argv); parse_args(emu, argc, argv);