aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-07-24 01:46:28 -0700
committerGuy Harris <guy@alum.mit.edu>2019-07-24 09:18:00 +0000
commitf26b7cbd22f67c0efb250a84fd8e18164a50fea7 (patch)
treeebc32eeb42324de328904308dc9bb2b0bdb84ac9 /epan
parentc8933e48f2de4baab10a609736d694e11bd0b53b (diff)
Suqlech a -Wpointer-sign warning.
Change-Id: I193ff3b2faf37930128bdc02b4da36e32e306b4a Reviewed-on: https://code.wireshark.org/review/34067 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan')
-rw-r--r--epan/charsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/charsets.c b/epan/charsets.c
index df4aa30033..9e5627ac80 100644
--- a/epan/charsets.c
+++ b/epan/charsets.c
@@ -830,7 +830,7 @@ get_ucs_4_string(wmem_allocator_t *scope, const guint8 *ptr, gint length, const
* of bytes that's not a multiple of 4, so we're not a valid
* UCS-4 string.
*/
- return (gchar *)wmem_strbuf_finalize(strbuf);
+ return (guint8 *)wmem_strbuf_finalize(strbuf);
}
/*