Remove warning in printf due to type mismatch
```-8<---- qemu/target-lm32/translate.c: In function ‘gen_intermediate_code_internal’: qemu/target-lm32/translate.c:1135: warning: format ‘%zd’ expects type ‘signed size_t’, but argument 4 has type ‘int’ ``` -8<---- Both gen_opc_ptr and gen_opc_buf are "uint16_t *". The difference between pointers is a ptrdiff_t so printf needs '%td'. Signed-off-by: NAlexandre Raymond <cerbere@gmail.com> Acked-by: NStefan Weil <weil@mail.berlios.de> Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
Showing
想要评论请 注册 或 登录