Fix declaration of tvb_get_string().
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 21 Jan 2014 01:44:58 +0000 (01:44 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 21 Jan 2014 01:44:58 +0000 (01:44 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@54870 f5534014-38df-0310-8fa8-9805f1628bb7

epan/tvbuff.h

index e8b904969582316a8cb1b7e6a0b00420bef8c590..304684dc600ad44a445b63e06c602c892808e6a7 100644 (file)
@@ -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);