diff options
author | midipix <writeonce@midipix.org> | 2015-08-29 10:36:31 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-09-26 11:19:41 -0400 |
commit | e0f5d8bc615d64722ce5e8b07825516167a1c88b (patch) | |
tree | 333e682e028f5eb27ecf2ffc1bc27ee9e24ae396 /src | |
parent | c0bd29170fa3a71a9856e0a2cd75f4ad0b3854c2 (diff) | |
download | ntapi-e0f5d8bc615d64722ce5e8b07825516167a1c88b.tar.bz2 ntapi-e0f5d8bc615d64722ce5e8b07825516167a1c88b.tar.xz |
oopsy daisy.
Diffstat (limited to 'src')
-rw-r--r-- | src/pty/ntapi_pty_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pty/ntapi_pty_ioctl.c b/src/pty/ntapi_pty_ioctl.c index f828753..806a748 100644 --- a/src/pty/ntapi_pty_ioctl.c +++ b/src/pty/ntapi_pty_ioctl.c @@ -66,13 +66,13 @@ int32_t __stdcall __ntapi_pty_ioctl( msg.data.ctlinfo.ctxarg[3] = input->ctxarg[3]; __ntapi->tt_generic_memcpy( - (char *)&input->terminfo, (char *)&msg.data.ctlinfo.terminfo, + (char *)&input->terminfo, sizeof(input->terminfo)); __ntapi->tt_generic_memcpy( - (char *)&input->winsize, (char *)&msg.data.ctlinfo.winsize, + (char *)&input->winsize, sizeof(input->winsize)); if ((status = __ntapi->zw_request_wait_reply_port(pty->hport,&msg,&msg))) |