Don't cast away constness.

svn path=/trunk/; revision=54813
This commit is contained in:
Guy Harris 2014-01-15 03:35:44 +00:00
parent dae86605b6
commit ada9dafdf0
1 changed files with 1 additions and 1 deletions

View File

@ -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);