diff options
author | Max Lingua | 2014-01-09 21:22:07 -0500 |
---|---|---|
committer | Max Lingua | 2014-01-18 13:39:20 -0500 |
commit | b75c7f6bc4a7245ab88fca760ad303df7e5da7ef (patch) | |
tree | 110ffb52704b06a318a56b0d3977caf6dc6908b8 /backends | |
parent | 14f3a09c8ccb1b821924234ce4e330382ef5d5ab (diff) | |
download | scummvm-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.c | 4 | ||||
-rw-r--r-- | backends/platform/ps2/rpckbd.c | 2 |
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; |