summaryrefslogtreecommitdiff
path: root/drivers/char/moxa.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/moxa.h')
-rw-r--r--drivers/char/moxa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/moxa.h b/drivers/char/moxa.h
index 0b1650621a04..87d16ce57be7 100644
--- a/drivers/char/moxa.h
+++ b/drivers/char/moxa.h
@@ -217,7 +217,7 @@
#define C320p32rx_mask (C320p32rx_size - 1)
#define C320p32tx_mask (C320p32tx_size - 1)
-#define Page_size 0x2000
+#define Page_size 0x2000U
#define Page_mask (Page_size - 1)
#define C218rx_spage 3
#define C218tx_spage 4