break;
default:
printf("menu_write_config: unhandled len %d for %s\n",
- config_data[i].len, config_data[i].name);
+ (int)config_data[i].len, config_data[i].name);
break;
}
}
break;
default:
printf("menu_load_config: unhandled len %d for %s\n",
- config_data[i].len, config_data[i].name);
+ (int)config_data[i].len, config_data[i].name);
break;
}
}
heap_end = (u32 *)((u8 *)heap_addr + size);
*heap_addr = SWAP32(size | 1);
- SysPrintf("InitHeap %x,%x : %x %x\n",a0,a1, (uptr)heap_addr-(uptr)psxM, size);
+ SysPrintf("InitHeap %x,%x : %x %x\n",a0,a1, (int)((uptr)heap_addr-(uptr)psxM), size);
pc0 = ra;
}
}
if (cdbuffer_size != sizeof(cdbuffer->raw[0]) * cd_sectors_per_blk)
err("cdbuffer_size: %lu != %d, sector %d\n", cdbuffer_size,
- sizeof(cdbuffer->raw[0]) * cd_sectors_per_blk, sector);
+ (int)sizeof(cdbuffer->raw[0]) * cd_sectors_per_blk, sector);
// done at last!
current_block = block;