embeddedsw
embeddedsw copied to clipboard
Compiler warning when building lwip for 64 bit
Hi,
the format specifier %08x causes some troube when building for 64bit machines.
xilinx/netif/xadapter.c:187:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'UINTPTR' {aka 'long unsigned int'} [-Wformat=] 187 | xil_printf("unable to determine type of EMAC with baseaddress 0x%08x\r\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 188 | mac_baseaddr); | ~~~~~~~~~~~~
Thanks for reporting, we'll fix in the next release