diff options
| author | Michael Walle <michael@walle.cc> | 2016-10-14 11:51:50 +0200 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2016-10-28 18:17:23 +0300 |
| commit | c1a900cf4a3925c2e4b313b82da5df955f17b70a (patch) | |
| tree | fe8b210b92d6372a5e99236acdca7ba2985710a6 /hw/usb/dev-smartcard-reader.c | |
| parent | f96fe6b5c27b9a66dba71044af0716f3d3e5601f (diff) | |
| download | focaccia-qemu-c1a900cf4a3925c2e4b313b82da5df955f17b70a.tar.gz focaccia-qemu-c1a900cf4a3925c2e4b313b82da5df955f17b70a.zip | |
milkymist-pfpu: fix potential integer overflow
Since the lm32 is a 32 bit architecture, just return a 32 bit value which is then converted to a 64 bit value. Spotted by coverity, CID 1005506. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/usb/dev-smartcard-reader.c')
0 files changed, 0 insertions, 0 deletions