winansi: fix compile warnings

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2009-05-07 14:46:48 +02:00
parent 3c0d7263c5
commit d9215c962b
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
/* common Win32 functions for MinGW and Cygwin */
#include <windows.h>
#include <conio.h>
static inline int file_attr_to_st_mode (DWORD attr)
{

View File

@@ -80,7 +80,7 @@ static void set_console_attr(void)
static void erase_in_line(void)
{
CONSOLE_SCREEN_BUFFER_INFO sbi;
long dummy; /* Needed for Windows 7 (or Vista) regression */
DWORD dummy; /* Needed for Windows 7 (or Vista) regression */
if (!console)
return;