diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2015-11-30 06:51:01 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-01-07 22:40:30 +0000 |
commit | cbc36cbd97eae79d4e84f749ee78fb53037e3c6c (patch) | |
tree | a710b563169517a21257c41c8d1dd6d2091a1f9e /epan/to_str.c | |
parent | 94f499bb113e2ff8a86bc721ff8799baf68d2305 (diff) |
Remove constness from bytestring_to_str() [-Wcast-qual]
Change-Id: I7f942787dfdc4f76dd0ad5111d1eb528b20f0ba9
Reviewed-on: https://code.wireshark.org/review/13011
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/to_str.c')
-rw-r--r-- | epan/to_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/to_str.c b/epan/to_str.c index b24eeff65a..5380c17d6a 100644 --- a/epan/to_str.c +++ b/epan/to_str.c @@ -185,7 +185,7 @@ bytes_to_hexstr_punct(char *out, const guint8 *ad, guint32 len, char punct) * If punct is '\0', no punctuation is applied (and thus * the resulting string is (len-1) bytes shorter) */ -const gchar * +gchar * bytestring_to_str(wmem_allocator_t *scope, const guint8 *ad, const guint32 len, const char punct) { gchar *buf; |