diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-07-09 00:53:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-07-09 00:53:17 +0000 |
commit | 9cb86fda9cd916415d7852c1dbfdac6ef05e42ec (patch) | |
tree | 46c05f01afc72970868fef1d1fe412fde89ce251 /epan/dissectors/packet-beep.c | |
parent | da80656d0e18aa01a8e0b1f7850b310233e623d3 (diff) | |
download | wireshark-9cb86fda9cd916415d7852c1dbfdac6ef05e42ec.tar.gz wireshark-9cb86fda9cd916415d7852c1dbfdac6ef05e42ec.tar.bz2 wireshark-9cb86fda9cd916415d7852c1dbfdac6ef05e42ec.zip |
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
Diffstat (limited to 'epan/dissectors/packet-beep.c')
-rw-r--r-- | epan/dissectors/packet-beep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-beep.c b/epan/dissectors/packet-beep.c index 7e9a38dbee..87ef60278c 100644 --- a/epan/dissectors/packet-beep.c +++ b/epan/dissectors/packet-beep.c @@ -47,7 +47,7 @@ void proto_reg_handoff_beep(void); -static int global_beep_tcp_port = TCP_PORT_BEEP; +static guint global_beep_tcp_port = TCP_PORT_BEEP; static int global_beep_strict_term = TRUE; static int proto_beep = -1; @@ -96,7 +96,7 @@ static int ett_mime_header = -1; static int ett_header = -1; static int ett_trailer = -1; -static unsigned int tcp_port = 0; +static guint tcp_port = 0; /* Get the state of the more flag ... */ |