]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-usb.c
Fix warnings when building for 32-bit and defining _TIME_BITS=64
[tcpdump] / print-usb.c
index 3f5937ba16cab5037183b22ad9b2c45f8d74eb22..88e178e588a875d05c6d686db1a619e7332504e0 100644 (file)
@@ -148,8 +148,7 @@ get_direction(int transfer_type, int event_type)
        case URB_BULK:
        case URB_CONTROL:
        case URB_ISOCHRONOUS:
-               switch(event_type)
-               {
+               switch(event_type) {
                case URB_SUBMIT:
                        direction = 2;
                        break;
@@ -162,8 +161,7 @@ get_direction(int transfer_type, int event_type)
                }
                break;
        case URB_INTERRUPT:
-               switch(event_type)
-               {
+               switch(event_type) {
                case URB_SUBMIT:
                        direction = 1;
                        break;
@@ -196,8 +194,7 @@ usb_header_print(netdissect_options *ndo, const pcap_usb_header *uh)
 
        ND_PRINT(" ");
        transfer_type = GET_U_1(uh->transfer_type);
-       switch(transfer_type)
-       {
+       switch(transfer_type) {
                case URB_ISOCHRONOUS:
                        ND_PRINT("ISOCHRONOUS");
                        break;
@@ -215,8 +212,7 @@ usb_header_print(netdissect_options *ndo, const pcap_usb_header *uh)
        }
 
        event_type = GET_U_1(uh->event_type);
-       switch(event_type)
-       {
+       switch(event_type) {
                case URB_SUBMIT:
                        ND_PRINT(" SUBMIT");
                        break;