summaryrefslogtreecommitdiff
path: root/src/chill_ast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/chill_ast.cc')
-rw-r--r--src/chill_ast.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chill_ast.cc b/src/chill_ast.cc
index 93afd97..978e303 100644
--- a/src/chill_ast.cc
+++ b/src/chill_ast.cc
@@ -603,7 +603,7 @@ chillAST_TypedefDecl::chillAST_TypedefDecl() {
};
-chillAST_TypedefDecl::chillAST_TypedefDecl(char *t, char *nt, chillAST_node *par) {
+chillAST_TypedefDecl::chillAST_TypedefDecl(char *t, const char *nt, chillAST_node *par) {
//fprintf(stderr, "chillAST_TypedefDecl::chillAST_TypedefDecl( underlying type %s, newtype %s )\n", t, nt);
underlyingtype = strdup(t);
newtype = strdup(nt);
@@ -619,7 +619,7 @@ chillAST_TypedefDecl::chillAST_TypedefDecl(char *t, char *nt, chillAST_node *par
};
-chillAST_TypedefDecl::chillAST_TypedefDecl(char *t, char *a, char *p, chillAST_node *par) {
+chillAST_TypedefDecl::chillAST_TypedefDecl(char *t, const char *a, char *p, chillAST_node *par) {
underlyingtype = strdup(t);
//fprintf(stderr, "chillAST_TypedefDecl::chillAST_TypedefDecl( underlying type %s )\n", underlyingtype);
newtype = strdup(a); // the new named type ??