summaryrefslogtreecommitdiff
path: root/src/arch/operands/rename.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-28 22:25:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-28 22:25:26 (GMT)
commit2700e6892a0c0d78baf7228040aa07a1e21c6f53 (patch)
treec8c74971b53ec4333c7c7eef2b6e102a33f57fe5 /src/arch/operands/rename.c
parent614b0d9febfffc8c8ee6c554d5132b9ecd9bff78 (diff)
Adapted the API for renamed operands.
Diffstat (limited to 'src/arch/operands/rename.c')
-rw-r--r--src/arch/operands/rename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/operands/rename.c b/src/arch/operands/rename.c
index e865b63..f87c566 100644
--- a/src/arch/operands/rename.c
+++ b/src/arch/operands/rename.c
@@ -83,9 +83,9 @@ static void g_renamed_operand_default_init(GRenamedOperandInterface *iface)
* *
******************************************************************************/
-const char *g_renamed_operand_get_text(const GRenamedOperand *operand)
+char *g_renamed_operand_get_text(const GRenamedOperand *operand)
{
- const char *result; /* Texte à retourner */
+ char *result; /* Texte à retourner */
GRenamedOperandIface *iface; /* Interface utilisée */
iface = G_RENAMED_OPERAND_GET_IFACE(operand);