From: Christoph Mallon Date: Thu, 6 Dec 2007 08:25:59 +0000 (+0000) Subject: Fix signed/unsigned warning. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=fc2543100970ec65d80f1c3a1c46c49115519e4e;p=cparser Fix signed/unsigned warning. [r18625] --- diff --git a/ast2firm.c b/ast2firm.c index b6642bb..2ef79c6 100644 --- a/ast2firm.c +++ b/ast2firm.c @@ -3650,7 +3650,7 @@ void init_ast2firm(void) init_atomic_modes(); /* create idents for all known runtime functions */ - for (int i = 0; i < sizeof(rts_data)/sizeof(rts_data[0]); ++i) { + for (size_t i = 0; i < sizeof(rts_data) / sizeof(rts_data[0]); ++i) { predef_idents[rts_data[i].id] = new_id_from_str(rts_data[i].name); } }