nvbios: Fix type of iters in printscript()
Fixes clang warning:
nvbios/nvbios.c:761:60: warning: format specifies type 'unsigned char'
but the argument has type 'uint16_t' (aka 'unsigned short') [-Wformat]
printf ("ZM_REG_SET_LOOP  0x%02hhx 0x%02hhx {\n", cnt, iters);
~~~~~~            ^~~~~
%02hx
@@ -755,7 +755,7 @@ void printscript (uint16_t soff) {
break;
case 0xaf:
cnt = bios->data[soff+2];
- uint16_t iters = bios->data[soff+1];
+ uint8_t iters = bios->data[soff+1];
uint32_t reg_off = soff + 3;
printcmd (soff, 3);
printf ("ZM_REG_SET_LOOP 0x%02hhx 0x%02hhx {\n", cnt, iters);
