warning fix
authorMatthias Braun <matze@braunis.de>
Thu, 14 Sep 2006 08:30:07 +0000 (08:30 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 14 Sep 2006 08:30:07 +0000 (08:30 +0000)
ir/be/ia32/ia32_new_nodes.c
ir/be/ia32/ia32_new_nodes.h

index 9d00a3d..2a986a2 100644 (file)
@@ -678,7 +678,7 @@ const char *get_ia32_cnst(const ir_node *node) {
 /**
  * Sets the string representation of the internal const.
  */
-void set_ia32_cnst(ir_node *node, char *cnst) {
+void set_ia32_cnst(ir_node *node, const char *cnst) {
        ia32_attr_t *attr = get_ia32_attr(node);
        attr->cnst        = new_id_from_str(cnst);
 }
index 5852c96..5ad22d0 100644 (file)
@@ -139,7 +139,7 @@ const char *get_ia32_cnst(const ir_node *node);
 /**
  * Sets the string representation of the internal const.
  */
-void set_ia32_cnst(ir_node *node, char *cnst);
+void set_ia32_cnst(ir_node *node, const char *cnst);
 
 /**
  * Gets the ident representation of the internal const (tv or symconst)