Alexandre Julliard : ntdll: Restore typecast that is really needed.
Alexandre Julliard
julliard at winehq.org
Wed Jan 16 07:09:31 CST 2008
Module: wine
Branch: master
Commit: 0a2fda702017901024f09e812857c84235375543
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0a2fda702017901024f09e812857c84235375543
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jan 15 20:36:48 2008 +0100
ntdll: Restore typecast that is really needed.
---
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 2ca604d..ed8239d 100644
--- a/dlls/ntdll/serial.c
+++ b/dlls/ntdll/serial.c
@@ -264,7 +264,7 @@ static NTSTATUS get_line_control(int fd, SERIAL_LINE_CONTROL* slc)
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