Commit 4f3534fa authored by Alexandre Julliard's avatar Alexandre Julliard

kernelbase: Fix console ioctl output sizes.

parent 50d71bb7
......@@ -434,7 +434,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH FillConsoleOutputAttribute( HANDLE handle, WORD at
params.ch = 0;
params.attr = attr;
return console_ioctl( handle, IOCTL_CONDRV_FILL_OUTPUT, &params, sizeof(params),
written, sizeof(written), NULL );
written, sizeof(*written), NULL );
}
......@@ -477,7 +477,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH FillConsoleOutputCharacterW( HANDLE handle, WCHAR
params.ch = ch;
params.attr = 0;
return console_ioctl( handle, IOCTL_CONDRV_FILL_OUTPUT, &params, sizeof(params),
written, sizeof(written), NULL );
written, sizeof(*written), NULL );
}
HANDLE get_console_wait_handle( HANDLE handle )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment