PS2: added missing casts

This commit is contained in:
Max Lingua 2014-01-09 21:22:07 -05:00
parent 14f3a09c8c
commit b75c7f6bc4
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ int cdvdInit(int mode)
cdvdCd.server = NULL; cdvdCd.server = NULL;
do { do {
if ((ret = SifBindRpc(&cdvdCd, CDVD_INIT_BIND_RPC, 0)) < 0) { if ((ret = SifBindRpc(&cdvdCd, (signed)CDVD_INIT_BIND_RPC, 0)) < 0) {
return -1; return -1;
} }
if (!cdvdCd.server) { if (!cdvdCd.server) {
@ -40,7 +40,7 @@ int cdvdInit(int mode)
} }
while(!cdvdCd.server); while(!cdvdCd.server);
pkt = sendBuffer; pkt = (unsigned char *)sendBuffer;
PUSHDATA( int, pkt, mode, i); PUSHDATA( int, pkt, mode, i);
pkt += i; len += i; pkt += i; len += i;

View File

@ -17,7 +17,7 @@
#include <string.h> #include <string.h>
#include "backends/platform/ps2/rpckbd.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 kbdRpcSema = -1;
static int kbdInitialized = 0; static int kbdInitialized = 0;