Fixed compile warning -Woverflow in masstorage.h

Original warning message was:

large integer implicitly truncated to unsigned type [-Woverflow]
This commit is contained in:
Adam McDaniel 2020-05-28 13:29:18 -06:00
parent 925578d474
commit bad44f8dca

View file

@ -456,8 +456,8 @@ struct CommandBlockWrapper : public CommandBlockWrapperBase {
};
struct {
uint8_t bmCBWCBLength : 4;
uint8_t bmReserved2 : 4;
uint8_t bmCBWCBLength : 6;
uint8_t bmReserved2 : 2;
};
uint8_t CBWCB[16];