diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-07-09 00:53:17 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-07-09 00:53:17 +0000 |
commit | 4ba230c139d811a8bbc80afa2394ccba99a5f76e (patch) | |
tree | 46c05f01afc72970868fef1d1fe412fde89ce251 /epan/dissectors/packet-enc.c | |
parent | ae04f78f19777301733cf0420fc20368a9b7fe5c (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14884 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-enc.c')
-rw-r--r-- | epan/dissectors/packet-enc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-enc.c b/epan/dissectors/packet-enc.c index 1fc1aa8197..7929084511 100644 --- a/epan/dissectors/packet-enc.c +++ b/epan/dissectors/packet-enc.c @@ -60,10 +60,10 @@ struct enchdr { static dissector_handle_t data_handle, ip_handle, ipv6_handle; /* header fields */ -static unsigned int proto_enc = -1; -static unsigned int hf_enc_af = -1; -static unsigned int hf_enc_spi = -1; -static unsigned int hf_enc_flags = -1; +static int proto_enc = -1; +static int hf_enc_af = -1; +static int hf_enc_spi = -1; +static int hf_enc_flags = -1; static gint ett_enc = -1; |