From: Michael Beck Date: Wed, 20 Aug 2003 07:46:04 +0000 (+0000) Subject: used new prefixed enum value X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b6ff7a485782e53f980bb90cccc55a4b8e4c3dc9;p=libfirm used new prefixed enum value [r1720] --- diff --git a/testprograms/call_str_example.c b/testprograms/call_str_example.c index d275d07e2..0d21cf5a7 100644 --- a/testprograms/call_str_example.c +++ b/testprograms/call_str_example.c @@ -51,7 +51,7 @@ int main(int argc, char **argv) /* Make a global entity that represents the constant String. */ const_str = new_entity(get_glob_type(), new_id_from_str("constStr"), U8array); - set_entity_variability(const_str, constant); + set_entity_variability(const_str, variability_constant); for (i = 0; i < strlen(str); i++) { tarval *val = new_tarval_from_long(str[i], mode_Bu); ir_node *con = new_Const(mode_Bu, val);