port: fix REG_SET() compiler warning.

Compiler
rtl837x_port.c:466: warning 116: right shifting more than size of object changed to zero

provided value is a uint16. So shifting it more then 16 cause this error.
Solution: cast the value to uint32_t.
This commit is contained in:
René van Dorst
2025-09-11 07:36:01 +02:00
parent 8ff124af30
commit f148bdad20
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ Other memory:
---------------- -------- -------- -------- --------
PAGED EXT. RAM 0 256
EXTERNAL RAM 0x0001 0x1b28 6952 16777216
ROM/EPROM/FLASH 0x0000 0x1b84f 44052 16777216
ROM/EPROM/FLASH 0x0000 0x1b85c 44065 16777216