diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-29 19:53:52 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-29 19:53:52 +0000 |
commit | 95eeb636033149c645f2bdab51c82f6c74bb3c1c (patch) | |
tree | d4fad82bca5c2cc4b14cc90b87dbb02c6880297d /epan/strutil.c | |
parent | 12a05a144214c20b857b733bc9150212412c7281 (diff) |
"hex_str_to_bytes()" modifies the GByteArray supplied to it, so don't
mark it as "const".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9474 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/strutil.c')
-rw-r--r-- | epan/strutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/strutil.c b/epan/strutil.c index fc2dad6326..c3386994ab 100644 --- a/epan/strutil.c +++ b/epan/strutil.c @@ -1,7 +1,7 @@ /* strutil.c * String utility routines * - * $Id: strutil.c,v 1.14 2003/12/29 04:06:09 gerald Exp $ + * $Id: strutil.c,v 1.15 2003/12/29 19:53:52 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -312,7 +312,7 @@ is_byte_sep(guint8 c) * is_byte_sep() into a byte array. */ gboolean -hex_str_to_bytes(const guchar *hex_str, const GByteArray *bytes) { +hex_str_to_bytes(const guchar *hex_str, GByteArray *bytes) { guint8 val; guchar *p, *q, *punct; char two_digits[3]; |