From 9cb86fda9cd916415d7852c1dbfdac6ef05e42ec Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 9 Jul 2005 00:53:17 +0000 Subject: Squelch various signed vs. unsigned warnings by: making pointers to byte data be "guint8 *" rather than "char *", and making buffers holding byte data arrays of "guint8" rather than arrays of "char"; making pointers to text strings "char *" rather than "guchar *"; appropriately casting pointers (cast to "guint8 *" when passing to routines expecting "guint8 *" or when assigning to "guint8 *"); making port-number preferences "guint"; making enum preferences "gint"; making hf_ variables "int". Clean up white space. svn path=/trunk/; revision=14884 --- epan/dissectors/packet-m2pa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-m2pa.c') diff --git a/epan/dissectors/packet-m2pa.c b/epan/dissectors/packet-m2pa.c index b1ee17f4e1..ce1be95a63 100644 --- a/epan/dissectors/packet-m2pa.c +++ b/epan/dissectors/packet-m2pa.c @@ -43,8 +43,8 @@ #define NETWORK_BYTE_ORDER FALSE #define SCTP_PORT_M2PA 3565 -static int global_sctp_port = SCTP_PORT_M2PA; -static int sctp_port = 0; +static guint global_sctp_port = SCTP_PORT_M2PA; +static guint sctp_port = 0; void proto_reg_handoff_m2pa(void); -- cgit v1.2.3