aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2012-09-13 02:43:13 +0300
committernotaz2012-09-13 02:43:13 +0300
commitc979c3ee0d0bc6bece799a6f4013993d7cb2d5f3 (patch)
treeb2ca7a13e463f72d31569947baa04a937233d415
parent29ddd9e8a2bd7d3c8baf6023a05e8cf407bd2212 (diff)
downloadpcsx_rearmed-c979c3ee0d0bc6bece799a6f4013993d7cb2d5f3.tar.gz
pcsx_rearmed-c979c3ee0d0bc6bece799a6f4013993d7cb2d5f3.tar.bz2
pcsx_rearmed-c979c3ee0d0bc6bece799a6f4013993d7cb2d5f3.zip
silence some 64bit related warnings
still need to fix savestate compat
-rw-r--r--frontend/menu.c4
-rw-r--r--libpcsxcore/psxbios.c2
-rw-r--r--plugins/cdrcimg/cdrcimg.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/frontend/menu.c b/frontend/menu.c
index 7d360d5..42a53e1 100644
--- a/frontend/menu.c
+++ b/frontend/menu.c
@@ -364,7 +364,7 @@ static int menu_write_config(int is_game)
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;
}
}
@@ -479,7 +479,7 @@ static int menu_load_config(int is_game)
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;
}
}
diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c
index e4fcad3..81a40aa 100644
--- a/libpcsxcore/psxbios.c
+++ b/libpcsxcore/psxbios.c
@@ -939,7 +939,7 @@ void psxBios_InitHeap() { // 0x39
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;
}
diff --git a/plugins/cdrcimg/cdrcimg.c b/plugins/cdrcimg/cdrcimg.c
index dd1cf57..e327500 100644
--- a/plugins/cdrcimg/cdrcimg.c
+++ b/plugins/cdrcimg/cdrcimg.c
@@ -212,7 +212,7 @@ static long CDRreadTrack(unsigned char *time)
}
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;