aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/to_str.c')
-rw-r--r--epan/to_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/to_str.c b/epan/to_str.c
index 23629dac52..36ede9bbe8 100644
--- a/epan/to_str.c
+++ b/epan/to_str.c
@@ -169,7 +169,7 @@ const gchar *
bytestring_to_str(wmem_allocator_t *scope, const guint8 *ad, const guint32 len, const char punct)
{
gchar *buf;
- size_t buflen = len;
+ guint32 buflen = len;
gchar *buf_ptr;
int truncated = 0;