Fixed compiler warning - HRESULT is set to FFERR_* values, but is an int

main
Sam Lantinga 2014-06-25 01:43:58 -07:00
parent a8955f2640
commit 724d9380ba
1 changed files with 4 additions and 4 deletions

View File

@ -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: