aboutsummaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-06-05 23:37:50 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2019-06-05 23:37:50 +0000
commit4db23c74550f4dc3b46cc9120d1ccf52cf6ab259 (patch)
treee477202427e94c38ab5af5952abc7c09cbd3ede8 /cddl
parentd32f14190b203ae8af35cc1c1453b8e938ec2889 (diff)
downloadsrc-4db23c74550f4dc3b46cc9120d1ccf52cf6ab259.tar.gz
src-4db23c74550f4dc3b46cc9120d1ccf52cf6ab259.zip
Use parse_integer to avoid sign extension.
Coverity warned about gdb_write_mem sign extending the result of parse_byte shifted left by 24 bits when generating a 32-bit memory write value for MMIO. Simplify the code by using parse_integer instead of unrolled parse_byte calls. CID: 1401600 Reviewed by: cem MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D20508
Notes
Notes: svn path=/head/; revision=348712
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions