summaryrefslogtreecommitdiff
path: root/hw/bsp/samd2x_l2x
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-04-17 00:10:44 +0700
committerhathach <[email protected]>2026-04-17 10:16:31 +0700
commita6dcc3f089bd4468949ea9e138fea9f80025577e (patch)
treecb12a05886c51eba2c76702fdc67cf09a90ad1b3 /hw/bsp/samd2x_l2x
parent81641e35c67ea8197397d1d03c666e94db6fdaec (diff)
fix some Wconversion warnings
Diffstat (limited to 'hw/bsp/samd2x_l2x')
-rw-r--r--hw/bsp/samd2x_l2x/family.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/samd2x_l2x/family.c b/hw/bsp/samd2x_l2x/family.c
index 11b6343cd..306ea2308 100644
--- a/hw/bsp/samd2x_l2x/family.c
+++ b/hw/bsp/samd2x_l2x/family.c
@@ -79,7 +79,7 @@
#ifdef SAMD21_FAMILY
/* Referenced GCLKs, should be initialized firstly */
-#define _GCLK_INIT_1ST (1 << 0 | 1 << 1)
+#define _GCLK_INIT_1ST (1u << 0 | 1u << 1)
/* Not referenced GCLKs, initialized last */
#define _GCLK_INIT_LAST (~_GCLK_INIT_1ST)
#endif