diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-09-27 06:09:14 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-09-27 06:09:14 +0000 |
commit | 0539569e1b5d01b9b4357ae872dc5f77c8ff7baf (patch) | |
tree | ac0aa60ed9e041d7c315e045debb058f25254279 /epan/except.c | |
parent | 0f2584c4d2da10bc952eb2bf24dd524360e17d10 (diff) |
get rid of warnings about qualifier discarding
svn path=/trunk/; revision=16017
Diffstat (limited to 'epan/except.c')
-rw-r--r-- | epan/except.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/except.c b/epan/except.c index 3aa8d84908..692127fa16 100644 --- a/epan/except.c +++ b/epan/except.c @@ -259,7 +259,7 @@ void except_rethrow(except_t *except) do_throw(except); } -void except_throw(long group, long code, char *msg) +void except_throw(long group, long code, const char *msg) { except_t except; @@ -271,7 +271,7 @@ void except_throw(long group, long code, char *msg) do_throw(&except); } -void except_throwd(long group, long code, char *msg, void *data) +void except_throwd(long group, long code, const char *msg, void *data) { except_t except; @@ -321,7 +321,7 @@ unsigned long except_group(except_t *ex) return ex->except_id.except_group; } -char *except_message(except_t *ex) +const char *except_message(except_t *ex) { return ex->except_message; } |