Fix CodeQL warning on printf

This commit is contained in:
Philippe Teuwen committed 2026-08-19 12:04:32 +02:00
1 parent dca419413b
commit d2a2d63854
1 file changed
+2 -2
+2 -2
View File
@@ -1830,8 +1830,8 @@ static int CmdDeviceFactoryData(const char *Cmd) {
}
if (datalen != resp.length) {
PrintAndLogEx(WARNING, _RED_("The length of the data to write (%d) does not match the length "
"of the factory data read from device (%d)."), datalen, resp.length);
PrintAndLogEx(WARNING, _RED_("The length of the data to write (%zu) does not match the length "
"of the factory data read from device (%u)."), datalen, (unsigned int)resp.length);
free(data);
return PM3_EINVARG;
}