Alexandre Julliard : ntdll: Cast termios.
c_cflag to avoid a printf format warning.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jun 14 06:51:27 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 2208694ab245b582f31e15f8aa86931c66847c50
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2208694ab245b582f31e15f8aa86931c66847c50
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jun 13 14:16:57 2006 +0200
ntdll: Cast termios.c_cflag to avoid a printf format warning.
---
dlls/ntdll/serial.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/serial.c b/dlls/ntdll/serial.c
index e663531..e9dfc9a 100644
--- a/dlls/ntdll/serial.c
+++ b/dlls/ntdll/serial.c
@@ -264,7 +264,7 @@ #endif
case CS6: slc->WordLength = 6; break;
case CS7: slc->WordLength = 7; 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)
More information about the wine-cvs
mailing list