diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-21 01:44:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-21 01:44:58 +0000 |
commit | 45d5b742190d9a5532ce95fbda8af61689e9023e (patch) | |
tree | 174ec48a796c2c679bca66d484da16cc8d529d01 /epan/tvbuff.h | |
parent | c540e33c495fa316aeea13ba5e267fc42e41a847 (diff) |
Fix declaration of tvb_get_string().
svn path=/trunk/; revision=54870
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r-- | epan/tvbuff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h index e8b9049695..304684dc60 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -498,7 +498,7 @@ extern gchar *tvb_format_stringzpad_wsp(tvbuff_t *tvb, const gint offset, * automatically freed when the scope lifetime is reached. */ WS_DLL_PUBLIC guint8 *tvb_get_string(wmem_allocator_t *scope, tvbuff_t *tvb, - gint offset, gint length); + const gint offset, const gint length); WS_DLL_PUBLIC guint8 *tvb_get_string_enc(wmem_allocator_t *scope, tvbuff_t *tvb, const gint offset, const gint length, const guint encoding); |