aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-09-26 06:53:38 +0000
committerGuy Harris <guy@alum.mit.edu>2007-09-26 06:53:38 +0000
commit2d8cff8a030c08a46e5e608c4cab8d6f8002b4d5 (patch)
tree6712d7354d2fdf71c46b6bbcd085a15707a28fb5 /epan
parent8f9655314a23788aa710ffb84b1d7f34d414ca6a (diff)
Make the number of bytes just a guint, in the hopes that it'll squelch
some of the warnings. svn path=/trunk/; revision=22982
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dcp.c b/epan/dissectors/packet-dcp.c
index d23efa924e..9a972350dc 100644
--- a/epan/dissectors/packet-dcp.c
+++ b/epan/dissectors/packet-dcp.c
@@ -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;