diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-10-30 18:53:31 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-10-30 18:53:31 +0000 |
commit | 0b7e2cd37e4ab9b508567981a3bb66495b201552 (patch) | |
tree | cf26eecdea002c27f3a6e5ba731fbb6d789555b7 /epan/tvbuff.h | |
parent | af3d0b2bde774c26cd36d9fbb3574927a7943405 (diff) |
Make tvb_strncaseeql()'s size parameter be a size_t. Cast the size to int before calling ensure_contiguous_no_exception() (also in tvb_strneql()).
svn path=/trunk/; revision=34727
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 f5cbbe2313..8d5b443eb1 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -624,7 +624,7 @@ extern gint tvb_strneql(tvbuff_t *tvb, const gint offset, const gchar *str, * 0 if it returns 0 (meaning "equal") and -1 otherwise, otherwise return -1. */ extern gint tvb_strncaseeql(tvbuff_t *tvb, const gint offset, const gchar *str, - const gint size); + const size_t size); /** * Call memcmp after checking if enough chars left, returning 0 if |