Skip to content

Commit

Permalink
added missing integer cast at return value
Browse files Browse the repository at this point in the history
  • Loading branch information
mbcinergy committed Apr 16, 2024
1 parent 9aa76a8 commit 9f70edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ int HID_API_EXPORT HID_API_CALL hid_send_output_report(hid_device* dev, const un
return -1;
}

return length;
return (int) length;
}

int HID_API_EXPORT HID_API_CALL hid_get_input_report(hid_device *dev, unsigned char *data, size_t length)
Expand Down

0 comments on commit 9f70edb

Please sign in to comment.