projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47551b9
)
fixed compiler warnings
author
Eric Kohl
<eric.kohl@reactos.org>
Sat, 4 Dec 1999 14:54:50 +0000
(14:54 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sat, 4 Dec 1999 14:54:50 +0000
(14:54 +0000)
svn path=/trunk/; revision=821
rosapps/cmd/color.c
patch
|
blob
|
history
diff --git
a/rosapps/cmd/color.c
b/rosapps/cmd/color.c
index
60081d1
..
7f44acf
100644
(file)
--- a/
rosapps/cmd/color.c
+++ b/
rosapps/cmd/color.c
@@
-1,4
+1,4
@@
-/* $Id: color.c,v 1.
3 1999/11/04 11:29:36
ekohl Exp $
+/* $Id: color.c,v 1.
4 1999/12/04 14:54:50
ekohl Exp $
*
* COLOR.C - color internal command.
*
@@
-75,12
+75,12
@@
VOID SetScreenColor (WORD wColor, BOOL bFill)
coPos.X = 0;
coPos.Y = 0;
FillConsoleOutputAttribute (hOut,
-
wColor & 0x00FF
,
+
(WORD)(wColor & 0x00FF)
,
(csbi.dwSize.X)*(csbi.dwSize.Y),
coPos,
&dwWritten);
}
- SetConsoleTextAttribute (hOut,
wColor & 0x00FF
);
+ SetConsoleTextAttribute (hOut,
(WORD)(wColor & 0x00FF)
);
}