jtag,main,xilinx: fix warnings, lint

This commit is contained in:
Gwenhael Goavec-Merou
2024-03-09 10:21:21 +01:00
parent 899dc931c8
commit f1bf4fdf57
3 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -465,7 +465,7 @@ bool Xilinx::zynqmp_init(const std::string &family)
* ARM at position 1
*/
char mess[256];
std::vector<int> listDev = _jtag->get_devices_list();
std::vector<uint32_t> listDev = _jtag->get_devices_list();
if (listDev.size() != 2) {
snprintf(mess, sizeof(mess), "ZynqMP error: wrong"
" JTAG length: %zu instead of 2\n",