aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-08 09:11:21 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-08 16:11:51 +0000
commit63f18c46b9c7b19de80b7ac400a593aa45475513 (patch)
treecf3e6d7c41ce4c8c388bca69bd9ca394c13e4f8f /epan/dissectors/packet-usb.h
parent946dfdbb746e0c6f7e7d650deb66734408cd7f8d (diff)
USB device addresses need to be 16-bit.
They are 16-bit in the Windows header; make them that way everywhere, so that we don't get "shortening 16 bits to 8 bits" warnings. Change-Id: I18f4c4254f224d76a90f3e87bc2f28cba011b5a3 Reviewed-on: https://code.wireshark.org/review/1021 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-usb.h')
-rw-r--r--epan/dissectors/packet-usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-usb.h b/epan/dissectors/packet-usb.h
index 2e05f6a8a8..46cdfc0524 100644
--- a/epan/dissectors/packet-usb.h
+++ b/epan/dissectors/packet-usb.h
@@ -83,7 +83,7 @@ typedef struct _usb_trans_info_t {
* there is one such structure for each device/endpoint conversation */
struct _usb_conv_info_t {
guint16 bus_id;
- guint8 device_address;
+ guint16 device_address;
guint8 endpoint;
gint direction;
guint8 transfer_type;