mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user