Fix MSVC warnings

This commit is contained in:
Yevgen Muntyan 2017-10-26 13:32:57 -07:00
parent 1ef9c46d0a
commit 326daf21df
2 changed files with 3 additions and 1 deletions

View File

@ -322,7 +322,7 @@ static void
merge_nodes (BTNode *parent, guint first)
{
BTNode *node, *next;
int i;
guint i;
g_assert (first + 1 < parent->n_children);

View File

@ -2,9 +2,11 @@
* all.c -- Lua core, libraries and interpreter in a single file
*/
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
#endif
#define luaall_c