OSDN Git Service
(root)
/
jnethack
/
source.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eliminate warnings
[jnethack/source.git]
/
sys
/
winnt
/
nttty.c
diff --git
a/sys/winnt/nttty.c
b/sys/winnt/nttty.c
index
293b707
..
c390929
100644
(file)
--- a/
sys/winnt/nttty.c
+++ b/
sys/winnt/nttty.c
@@
-500,7
+500,7
@@
int ch2;
attrs[0] = attrs[1] = attr;
- WriteConsoleOutputAttribute(hConOut,
&attrs
,2,
+ WriteConsoleOutputAttribute(hConOut,
(WORD *)(&attrs)
,2,
cursor,&acount);
WriteConsoleOutputCharacter(hConOut,buf,2,
cursor,&ccount);