capstone-engine / capstone

Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.
http://www.capstone-engine.org
7.51k stars 1.54k forks source link

[5.0.1] Warning in Mapping.c module #2352

Open greenozon opened 4 months ago

greenozon commented 4 months ago

Work environment

Widows x64

Expected behavior

0 warnings in Windows build

Actual behavior

one warning:

capstone-5.0.1\Mapping.c(155,49): warning C4244: '=': conversion from 'uint16_t' to 'uint8_t', possible loss of data

image

Steps to reproduce the behavior

build static windows library