forked from osmocom/wireshark
Don't cast away constness.
svn path=/trunk/; revision=54813
This commit is contained in:
parent
dae86605b6
commit
ada9dafdf0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue