mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01:00
Fixed compiler warning - HRESULT is set to FFERR_* values, but is an int
This commit is contained in:
parent
a8955f2640
commit
724d9380ba
@ -91,7 +91,7 @@ static int numhaptics = -1;
|
||||
* Like strerror but for force feedback errors.
|
||||
*/
|
||||
static const char *
|
||||
FFStrError(HRESULT err)
|
||||
FFStrError(unsigned int err)
|
||||
{
|
||||
switch (err) {
|
||||
case FFERR_DEVICEFULL:
|
||||
|
Loading…
Reference in New Issue
Block a user