re-fix wintty.c; disable warnings on sp_lev.c

don't ask me why wintty.c was actually compiling before.
also, make studio shut up about all the long-to-short stuff.
This commit is contained in:
Derek S. Ray
2015-04-06 18:56:30 -04:00
parent aac78fe62e
commit 61ffe9028d
2 changed files with 9 additions and 4 deletions

View File

@@ -14,6 +14,11 @@
#include "sp_lev.h"
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4244)
#endif
typedef void (*select_iter_func)(int, int, genericptr_t);
extern void FDECL(mkmap, (lev_init *));
@@ -5218,4 +5223,8 @@ const char *name;
}
#ifdef _MSC_VER
#pragma warning(pop)
#endif
/*sp_lev.c*/

View File

@@ -2209,10 +2209,6 @@ tty_putstr(window, attr, str)
}
}
}
break;
}
}
void
tty_display_file(fname, complain)