Fixed a warning.

svn path=/trunk/; revision=2107
This commit is contained in:
Eric Kohl 2001-07-27 10:15:48 +00:00
parent 5cd5457f10
commit d50f7d2496

View file

@ -15,9 +15,9 @@
int _cputs(const char *_str)
{
int len = strlen(_str);
int written = 0;
if ( !WriteFile(filehnd(stdout->_file),_str,len,&written,NULL))
return -1;
return 0;
int len = strlen(_str);
DWORD written = 0;
if (!WriteFile(filehnd(stdout->_file),_str,len,&written,NULL))
return -1;
return 0;
}