From: John Hodge (sonata) Date: Mon, 27 May 2013 11:48:04 +0000 (+0800) Subject: Usermode/libposix - Fixed compilation error with higher warnings X-Git-Tag: rel0.15~292^2~10 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=5dc3cea45b3cb43e26a6ed51e98f923a9fd73d92;p=tpg%2Facess2.git Usermode/libposix - Fixed compilation error with higher warnings --- diff --git a/Usermode/Libraries/libposix.so_src/termios.c b/Usermode/Libraries/libposix.so_src/termios.c index 57b1b421..32fa9e16 100644 --- a/Usermode/Libraries/libposix.so_src/termios.c +++ b/Usermode/Libraries/libposix.so_src/termios.c @@ -66,7 +66,7 @@ int tcsetattr(int fd, int optional_actions, const struct termios *termios_p) return -1; } - struct ptymode mode = {0}; + struct ptymode mode = {0,0}; if(termios_p->c_lflag & ICANON) mode.InputMode |= PTYIMODE_CANON;