diff --git a/moo/mooedit/mootextbtree.c b/moo/mooedit/mootextbtree.c index 123fbced..d56f325f 100644 --- a/moo/mooedit/mootextbtree.c +++ b/moo/mooedit/mootextbtree.c @@ -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); diff --git a/moo/moolua/lua/luaall.cpp b/moo/moolua/lua/luaall.cpp index 04ae6622..4766e750 100644 --- a/moo/moolua/lua/luaall.cpp +++ b/moo/moolua/lua/luaall.cpp @@ -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