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-rdt.c | |
parent | da80656d0e18aa01a8e0b1f7850b310233e623d3 (diff) |
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-rdt.c')
-rw-r--r-- | epan/dissectors/packet-rdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rdt.c b/epan/dissectors/packet-rdt.c index 00e77c6d05..30744477fe 100644 --- a/epan/dissectors/packet-rdt.c +++ b/epan/dissectors/packet-rdt.c @@ -169,11 +169,11 @@ static gint ett_rdt_bw_probing_flags = -1; /* Port preference settings */ static gboolean global_rdt_register_udp_port = FALSE; -static gint global_rdt_udp_port = 6970; +static guint global_rdt_udp_port = 6970; /* Also store this so can delete registered setting properly */ static gboolean rdt_register_udp_port = FALSE; -static gint rdt_udp_port = 0; +static guint rdt_udp_port = 0; void proto_reg_handoff_rdt(void); |