Make the number of bytes just a guint, in the hopes that it'll squelch

some of the warnings.

svn path=/trunk/; revision=22982
This commit is contained in:
Guy Harris 2007-09-26 06:53:38 +00:00
parent 8f9655314a
commit 2d8cff8a03
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ decode_dccp_ports(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tre
* Auxiliary functions to dissect DCCP options
*/
/* decode a variable-length number of nbytes starting at offset. Based on a concept by Arnaldo de Melo */
static guint64 tvb_get_ntoh_var(tvbuff_t *tvb, gint offset, guint8 nbytes)
static guint64 tvb_get_ntoh_var(tvbuff_t *tvb, gint offset, guint nbytes)
{
const guint8* ptr;
guint64 value = 0;