aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Lingua2014-01-09 21:22:07 -0500
committerMax Lingua2014-01-18 13:39:20 -0500
commitb75c7f6bc4a7245ab88fca760ad303df7e5da7ef (patch)
tree110ffb52704b06a318a56b0d3977caf6dc6908b8 /backends
parent14f3a09c8ccb1b821924234ce4e330382ef5d5ab (diff)
downloadscummvm-rg350-b75c7f6bc4a7245ab88fca760ad303df7e5da7ef.tar.gz
scummvm-rg350-b75c7f6bc4a7245ab88fca760ad303df7e5da7ef.tar.bz2
scummvm-rg350-b75c7f6bc4a7245ab88fca760ad303df7e5da7ef.zip
PS2: added missing casts
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/ps2/cd.c4
-rw-r--r--backends/platform/ps2/rpckbd.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/ps2/cd.c b/backends/platform/ps2/cd.c
index cd44b3d034..1c54174c1d 100644
--- a/backends/platform/ps2/cd.c
+++ b/backends/platform/ps2/cd.c
@@ -31,7 +31,7 @@ int cdvdInit(int mode)
cdvdCd.server = NULL;
do {
- if ((ret = SifBindRpc(&cdvdCd, CDVD_INIT_BIND_RPC, 0)) < 0) {
+ if ((ret = SifBindRpc(&cdvdCd, (signed)CDVD_INIT_BIND_RPC, 0)) < 0) {
return -1;
}
if (!cdvdCd.server) {
@@ -40,7 +40,7 @@ int cdvdInit(int mode)
}
while(!cdvdCd.server);
- pkt = sendBuffer;
+ pkt = (unsigned char *)sendBuffer;
PUSHDATA( int, pkt, mode, i);
pkt += i; len += i;
diff --git a/backends/platform/ps2/rpckbd.c b/backends/platform/ps2/rpckbd.c
index 0bb45208f5..e7975ab484 100644
--- a/backends/platform/ps2/rpckbd.c
+++ b/backends/platform/ps2/rpckbd.c
@@ -17,7 +17,7 @@
#include <string.h>
#include "backends/platform/ps2/rpckbd.h"
-static int curr_readmode = PS2KBD_READMODE_NORMAL;
+static unsigned int curr_readmode = PS2KBD_READMODE_NORMAL;
static int kbdRpcSema = -1;
static int kbdInitialized = 0;