diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-10 18:25:24 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-10 18:25:24 +0000 |
commit | b4d8a3727f68d8a4ac0696ea11ea06903d0e6c45 (patch) | |
tree | b87ce263137cba30fe314063034a5862b1fc994b /epan/tvbuff-int.h | |
parent | f3ed13c22ea9a73cad6f65488eacc59770197b0c (diff) |
Fix previous commit. Devel env with -w in CFLAGS is not so good idea...
svn path=/trunk/; revision=50487
Diffstat (limited to 'epan/tvbuff-int.h')
-rw-r--r-- | epan/tvbuff-int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/tvbuff-int.h b/epan/tvbuff-int.h index e85e661d25..24aac4750a 100644 --- a/epan/tvbuff-int.h +++ b/epan/tvbuff-int.h @@ -32,11 +32,11 @@ struct tvb_ops { void (*tvb_init)(struct tvbuff *tvb); void (*tvb_free)(struct tvbuff *tvb); guint (*tvb_offset)(const struct tvbuff *tvb, guint counter); - const guint8 *(*tvb_get_ptr)(struct tvbuff *tvb, const guint abs_offset, const guint abs_length); - void *(*tvb_memcpy)(struct tvbuff *tvb, void *target, guint offset, size_t length); + const guint8 *(*tvb_get_ptr)(struct tvbuff *tvb, guint abs_offset, guint abs_length); + void *(*tvb_memcpy)(struct tvbuff *tvb, void *target, guint offset, guint length); gint (*tvb_find_guint8)(tvbuff_t *tvb, guint abs_offset, guint limit, guint8 needle); - gint (*tvb_pbrk_guint8)(tvbuff_t *tvb, guint abs_offset, guint limit, guint8 *needles, guchar *found_needle); + gint (*tvb_pbrk_guint8)(tvbuff_t *tvb, guint abs_offset, guint limit, const guint8 *needles, guchar *found_needle); }; typedef struct { |