unicorn-engine / unicorn

Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)
http://www.unicorn-engine.org
GNU General Public License v2.0
7.67k stars 1.35k forks source link

gcc compiler warning fixes #1977

Closed BitMaskMixer closed 4 months ago

BitMaskMixer commented 4 months ago

The gcc compiler version 13.2.0 complains about:

This small PR fixes these issues so the build log is warning and error free for gcc - under linux.

wtdcode commented 4 months ago

This should have been fixed as requested by aquynh. Probably I left our my local changes.

wtdcode commented 4 months ago

Thanks!