This patch takes care of a compilation warning that produces a compilation
error on Windows (due to the newly introduced /WX compiler option).
Regards, Peter
Index: C:/wireshark-win32-libs/epan/dissectors/packet-scsi.c
===================================================================
--- C:/wireshark-win32-libs/epan/dissectors/packet-scsi.c (revision 21226)
+++ C:/wireshark-win32-libs/epan/dissectors/packet-scsi.c (working copy)
@@ -4646,7 +4646,7 @@
/* If this PDU already contains all the expected data we dont have to do
* reassembly.
*/
- if( (!relative_offset) && (tvb_length_remaining(tvb,
offset)==expected_length) ){
+ if( (!relative_offset) && ((guint32)tvb_length_remaining(tvb, offset) ==
expected_length) ){
goto dissect_the_payload;
}
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev