mirror of
https://github.com/encounter/SDL.git
synced 2025-12-11 14:41:56 +00:00
Fixed compiler warning - HRESULT is set to FFERR_* values, but is an int
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user