summaryrefslogtreecommitdiffstats
path: root/pbl
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-03-07 00:00:13 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-11 08:11:18 +0100
commit5240aa6fcb21846aadd5bb98dfd2eb0e69e1cf09 (patch)
tree4b826b90c24f3771fa0eef8a1aab0f1aecd050d6 /pbl
parentc26391d125eef9d5b97356255c86ac802e943f7b (diff)
downloadbarebox-5240aa6fcb21846aadd5bb98dfd2eb0e69e1cf09.tar.gz
barebox-5240aa6fcb21846aadd5bb98dfd2eb0e69e1cf09.tar.xz
usb: storage: Don't use "unsigned long" for 32-bit values
Unsignled long will expand to 64-bit unsigned integer on 64-bit CPUs. This will break current code using it to read out two 32-bit values returned by READ_CAPACITY. Fix the proble by using "u32" explicitly. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'pbl')
0 files changed, 0 insertions, 0 deletions