mirror of https://github.com/encounter/SDL.git
SDL_hidapi_wii.c: fix -Wpointer-sign warnings
This commit is contained in:
parent
54356f41a9
commit
5be157b3a2
|
@ -280,13 +280,13 @@ static SDL_bool ReadRegister(SDL_DriverWii_Context *ctx, Uint32 address, int siz
|
|||
|
||||
static SDL_bool SendExtensionIdentify1(SDL_DriverWii_Context *ctx, SDL_bool sync)
|
||||
{
|
||||
char data = 0x55;
|
||||
unsigned char data = 0x55;
|
||||
return WriteRegister(ctx, 0xA400F0, &data, sizeof(data), sync);
|
||||
}
|
||||
|
||||
static SDL_bool SendExtensionIdentify2(SDL_DriverWii_Context *ctx, SDL_bool sync)
|
||||
{
|
||||
char data = 0x00;
|
||||
unsigned char data = 0x00;
|
||||
return WriteRegister(ctx, 0xA400FB, &data, sizeof(data), sync);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue