summaryrefslogtreecommitdiff
path: root/include/sandboxblockdev.h
diff options
context:
space:
mode:
authorJianlong.Huang <jianlong.huang@starfivetech.com>2021-10-27 04:17:57 +0300
committerHal Feng <hal.feng@starfivetech.com>2023-11-29 05:47:43 +0300
commit295685561ef1aacb6359a3e658640154e6a40a34 (patch)
treec565352e7695e55393dcb058d57bc0a8c02349d2 /include/sandboxblockdev.h
parentb2edbe9c9edf1fd7be1a399e15128874dd7db341 (diff)
downloadu-boot-295685561ef1aacb6359a3e658640154e6a40a34.tar.xz
cmd/eeprom: fix data type issue for parse_numeric_param
This patch fixs parse_numeric_param issue on some platfrom which has different sizes of int and long, like riscv64. On riscv64, int is 4 bytes, but long is 8 bytes. on this situation: ulong addr = parse_numeric_param(argv[index]); if argv[index] is "0x80000000", this "ulong addr" will be 0xffffffff80000000. Signed-off-by: Jianlong.Huang <jianlong.huang@starfivetech.com> Co-developed-by: Wei Fu <wefu@redhat.com> Signed-off-by: Wei Fu <wefu@redhat.com>
Diffstat (limited to 'include/sandboxblockdev.h')
0 files changed, 0 insertions, 0 deletions