aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wpi/if_wpireg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wpi/if_wpireg.h')
-rw-r--r--sys/dev/wpi/if_wpireg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wpi/if_wpireg.h b/sys/dev/wpi/if_wpireg.h
index 2ccc21fedd75..df71b3d3965c 100644
--- a/sys/dev/wpi/if_wpireg.h
+++ b/sys/dev/wpi/if_wpireg.h
@@ -143,7 +143,7 @@
/* possible flags for register WPI_UC_CTL */
#define WPI_UC_ENABLE (1 << 30)
-#define WPI_UC_RUN (1 << 31)
+#define WPI_UC_RUN (1U << 31)
/* possible flags for register WPI_INTR_CSR */
#define WPI_ALIVE_INTR (1 << 0)
@@ -151,7 +151,7 @@
#define WPI_SW_ERROR (1 << 25)
#define WPI_TX_INTR (1 << 27)
#define WPI_HW_ERROR (1 << 29)
-#define WPI_RX_INTR (1 << 31)
+#define WPI_RX_INTR (1U << 31)
#define WPI_INTR_MASK \
(WPI_SW_ERROR | WPI_HW_ERROR | WPI_TX_INTR | WPI_RX_INTR | \