mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 21:01:24 -05:00
Fix compile warning about shifting signed negative constant.
MFC after: 3 days
This commit is contained in:
parent
1765946ba9
commit
db8409e00a
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ struct uhci_td {
|
|||
#define UHCI_TD_GET_ENDPT(s) (((s) >> 15) & 0xf)
|
||||
#define UHCI_TD_SET_DT(t) ((t) << 19)
|
||||
#define UHCI_TD_GET_DT(s) (((s) >> 19) & 1)
|
||||
#define UHCI_TD_SET_MAXLEN(l) (((l)-1) << 21)
|
||||
#define UHCI_TD_SET_MAXLEN(l) (((l)-1U) << 21)
|
||||
#define UHCI_TD_GET_MAXLEN(s) ((((s) >> 21) + 1) & 0x7ff)
|
||||
#define UHCI_TD_MAXLEN_MASK 0xffe00000
|
||||
volatile uint32_t td_buffer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue