aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-15 03:35:44 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-15 03:35:44 +0000
commitada9dafdf05fdf25547eedad770ca5146704bce4 (patch)
treedddd7ff399cfeaf00752a086a3fcfecd609deb7f /epan/ftypes
parentdae86605b61bbbabd54749e6bde7c0c10b031ca8 (diff)
Don't cast away constness.
svn path=/trunk/; revision=54813
Diffstat (limited to 'epan/ftypes')
-rw-r--r--epan/ftypes/ftype-bytes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ftypes/ftype-bytes.c b/epan/ftypes/ftype-bytes.c
index 74d96b0687..bb91f27797 100644
--- a/epan/ftypes/ftype-bytes.c
+++ b/epan/ftypes/ftype-bytes.c
@@ -219,7 +219,7 @@ bytes_from_string(fvalue_t *fv, const char *s, LogFunc logfunc _U_)
bytes = g_byte_array_new();
- g_byte_array_append(bytes, (guint8 *)s, (guint)strlen(s));
+ g_byte_array_append(bytes, (const guint8 *)s, (guint)strlen(s));
/* Free up the old value, if we have one */
bytes_fvalue_free(fv);