From: Michael Beck Date: Fri, 18 Feb 2005 09:46:42 +0000 (+0000) Subject: fixed a warning regarding const X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=2b9f0e447beb2a4246d201e516f2b7cd4c834a2e;p=libfirm fixed a warning regarding const [r5184] --- diff --git a/ir/ir/irreflect.c b/ir/ir/irreflect.c index a52f295dd..72ae101b7 100644 --- a/ir/ir/irreflect.c +++ b/ir/ir/irreflect.c @@ -66,7 +66,7 @@ typedef struct { const char *name; bool commutative; int sig_count; - const rflct_arg_t *sigs[MAX_SIG_COUNT]; + rflct_arg_t *sigs[MAX_SIG_COUNT]; } rflct_opcode_t; static struct obstack obst; @@ -413,7 +413,7 @@ void rflct_new_opcode(opcode opc, const char *name, bool commutative) bool rflct_opcode_add_signature(opcode opc, rflct_sig_t *sig) { - const rflct_arg_t *args = sig->args; + rflct_arg_t *args = sig->args; rflct_opcode_t *op = opcodes[opc]; int i;