From 31544d2b6973931be7fdec898ea3672bea831de2 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 30 Aug 2012 17:37:27 -0700 Subject: Fix compiler errors of C++ conversion --- src/map/magic-expr.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/map/magic-expr.hpp') diff --git a/src/map/magic-expr.hpp b/src/map/magic-expr.hpp index 4551585..7a251df 100644 --- a/src/map/magic-expr.hpp +++ b/src/map/magic-expr.hpp @@ -29,16 +29,16 @@ */ typedef struct fun { - char *name; - char *signature; + const char *name; + const char *signature; char ret_ty; int (*fun) (env_t * env, int args_nr, val_t * result, val_t * args); } fun_t; typedef struct op { - char *name; - char *signature; + const char *name; + const char *signature; int (*op) (env_t * env, int args_nr, val_t * args); } op_t; -- cgit v1.2.3-60-g2f50