declare as in prototype

Submitted by: Gisle Vanem
This commit is contained in:
Ulf Möller 2006-04-12 19:24:45 +00:00
parent ceb4678956
commit fb05e1cdf6

View File

@ -2673,7 +2673,7 @@ int raw_read_stdin(void *buf,int siz)
#endif
#if defined(_WIN32) && defined(STD_OUTPUT_HANDLE)
int raw_write_stdout(void *buf,int siz)
int raw_write_stdout(const void *buf,int siz)
{
DWORD n;
if (WriteFile(GetStdHandle(STD_OUTPUT_HANDLE),buf,siz,&n,NULL))