]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
fix wrong const qualifier
authorWolfgang (Blub) Bumiller <blub@speed.at>
Mon, 12 Nov 2012 23:11:07 +0000 (00:11 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Mon, 12 Nov 2012 23:11:07 +0000 (00:11 +0100)
ast.c

diff --git a/ast.c b/ast.c
index aa65da207af53f4e31e9b19e4e656cd4319ef422..3f6c59eb577113a3f9753d879096dbd02e169b60 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -569,7 +569,7 @@ void ast_member_delete(ast_member *self)
 
 ast_array_index* ast_array_index_new(lex_ctx ctx, ast_expression *array, ast_expression *index)
 {
-    const ast_expression *outtype;
+    ast_expression *outtype;
     ast_instantiate(ast_array_index, ctx, ast_array_index_delete);
 
     outtype = array->expression.next;