Fix emu memset initialization
This commit is contained in:
parent
9ea58831cd
commit
aa3607f744
2
emu.c
2
emu.c
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user