Fixed compiler warning - HRESULT is set to FFERR_* values, but is an int
This commit is contained in:
parent
5b62440918
commit
9c48dd8a60
1 changed files with 4 additions and 4 deletions
|
@ -91,7 +91,7 @@ static int numhaptics = -1;
|
||||||
* Like strerror but for force feedback errors.
|
* Like strerror but for force feedback errors.
|
||||||
*/
|
*/
|
||||||
static const char *
|
static const char *
|
||||||
FFStrError(HRESULT err)
|
FFStrError(unsigned int err)
|
||||||
{
|
{
|
||||||
switch (err) {
|
switch (err) {
|
||||||
case FFERR_DEVICEFULL:
|
case FFERR_DEVICEFULL:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue