diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2010-06-17 13:59:22 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2010-06-17 13:59:22 +0000 |
commit | cdae67dc9bf52fd118eff5ea82462fef46691143 (patch) | |
tree | c64a76ea8d9ddddcc192189367bd86093cf45a8d /tests/mpc-tests.h | |
parent | 2415caf70c6976ad4e1e7363de2026b6678fa950 (diff) | |
download | mpc-cdae67dc9bf52fd118eff5ea82462fef46691143.tar.gz |
mpc-test.h, read_data.c: fixed calls of functions with "char *" parameter
with a constant string; problem found by g++
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@787 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/mpc-tests.h')
-rw-r--r-- | tests/mpc-tests.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/mpc-tests.h b/tests/mpc-tests.h index dd9a275..d1d288c 100644 --- a/tests/mpc-tests.h +++ b/tests/mpc-tests.h @@ -134,10 +134,10 @@ typedef enum typedef struct { - func_ptr pointer; - func_type type; - char * name; - int properties; + func_ptr pointer; + func_type type; + const char * name; + int properties; } mpc_function; #define DECL_FUNC(_ftype, _fvar, _func) \ |