commit | 516a577df1a1cf597337d85fb14fa571c057cce7 | [log] [tgz] |
---|---|---|
author | Mike McCormack <mike@codeweavers.com> | Fri Aug 19 10:04:03 2005 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Aug 19 10:04:03 2005 +0000 |
tree | 6d7e78cf6c66683df1bbe850484c8f1e600b9577 | |
parent | 2386023474333ab1cbe653f665850916f4744888 [diff] [blame] |
Fix gcc 4.0 warnings.
diff --git a/programs/wcmd/builtins.c b/programs/wcmd/builtins.c index a8a54c5..0d1a259 100644 --- a/programs/wcmd/builtins.c +++ b/programs/wcmd/builtins.c
@@ -69,8 +69,8 @@ if (GetConsoleScreenBufferInfo(hStdOut, &consoleInfo)) { COORD topLeft; - long screenSize; - + DWORD screenSize; + screenSize = consoleInfo.dwSize.X * (consoleInfo.dwSize.Y + 1); topLeft.X = 0;