64bit compile fix
authorMatthias Braun <matze@braunis.de>
Mon, 15 Jun 2009 12:00:46 +0000 (12:00 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 15 Jun 2009 12:00:46 +0000 (12:00 +0000)
[r26140]

ast2firm.c

index a13d69d..eb8dd33 100644 (file)
@@ -5255,7 +5255,7 @@ static void asm_statement_to_firm(const asm_statement_t *statement)
                                char     buf[64];
                                ir_node *value = get_value_from_lvalue(expr, addr);
 
-                               snprintf(buf, sizeof(buf), "%u", out_size);
+                               snprintf(buf, sizeof(buf), "%u", (unsigned) out_size);
 
                                ir_asm_constraint constraint;
                                constraint.pos              = pos;