fixed warnings
[libfirm] / ir / be / begnuas.c
index 501499b..3120005 100644 (file)
@@ -38,7 +38,6 @@
 #include "obst.h"
 #include "tv.h"
 #include "irnode.h"
-#include "entity.h"
 #include "irprog.h"
 #include "pdeq.h"
 #include "error.h"
@@ -80,8 +79,8 @@ static const char *get_section_name(be_gas_section_t section) {
                }
        };
 
-       assert(be_gas_flavour >= 0 && be_gas_flavour < GAS_FLAVOUR_MAX);
-       assert(section >= 0 && section < GAS_SECTION_MAX);
+       assert((int) be_gas_flavour >= 0 && be_gas_flavour < GAS_FLAVOUR_MAX);
+       assert((int) section >= 0 && section < GAS_SECTION_MAX);
        return text[be_gas_flavour][section];
 }