Skip to content
Commit e6e055c9 authored by Blue Swirl's avatar Blue Swirl
Browse files

Fix mingw32 and OpenBSD warnings



ffsl() is not universally available, so there are these warnings
on both mingw32 and OpenBSD:
/src/qemu/hw/pcie_aer.c: In function 'pcie_aer_update_log':
/src/qemu/hw/pcie_aer.c:399: warning: implicit declaration of function 'ffsl'

Since status field in PCIEAERErr is uint32_t, we can just use ffs() instead.

Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent bcd47878
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment