diff options
| author | hathach <[email protected]> | 2026-04-17 00:10:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-04-17 10:16:31 +0700 |
| commit | a6dcc3f089bd4468949ea9e138fea9f80025577e (patch) | |
| tree | cb12a05886c51eba2c76702fdc67cf09a90ad1b3 /hw/bsp/samd2x_l2x | |
| parent | 81641e35c67ea8197397d1d03c666e94db6fdaec (diff) | |
fix some Wconversion warnings
Diffstat (limited to 'hw/bsp/samd2x_l2x')
| -rw-r--r-- | hw/bsp/samd2x_l2x/family.c | 2 |
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 |
