Commit 2208694a authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Cast termios.c_cflag to avoid a printf format warning.

parent 68090e5d
...@@ -264,7 +264,7 @@ static NTSTATUS get_line_control(int fd, SERIAL_LINE_CONTROL* slc) ...@@ -264,7 +264,7 @@ static NTSTATUS get_line_control(int fd, SERIAL_LINE_CONTROL* slc)
case CS6: slc->WordLength = 6; break; case CS6: slc->WordLength = 6; break;
case CS7: slc->WordLength = 7; break; case CS7: slc->WordLength = 7; break;
case CS8: slc->WordLength = 8; break; case CS8: slc->WordLength = 8; break;
default: ERR("unknown size %x\n", port.c_cflag & CSIZE); default: ERR("unknown size %x\n", (UINT)(port.c_cflag & CSIZE));
} }
if (port.c_cflag & CSTOPB) if (port.c_cflag & CSTOPB)
......
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