gc_adapter: Silence sign conversion warnings

This commit is contained in:
Lioncash
2020-07-12 15:36:27 -04:00
parent 995067538d
commit 9ce6ea648f
2 changed files with 7 additions and 7 deletions

View File

@ -104,7 +104,7 @@ public:
const std::array<GCState, 4>& GetPadState() const;
private:
GCPadStatus GetPadStatus(int port, const std::array<u8, 37>& adapter_payload);
GCPadStatus GetPadStatus(std::size_t port, const std::array<u8, 37>& adapter_payload);
void PadToState(const GCPadStatus& pad, GCState& state);
@ -117,10 +117,10 @@ private:
void StopScanThread();
/// Returns true if there is a device connected to port
bool DeviceConnected(int port);
bool DeviceConnected(std::size_t port);
/// Resets status of device connected to port
void ResetDeviceType(int port);
void ResetDeviceType(std::size_t port);
/// Returns true if we successfully gain access to GC Adapter
bool CheckDeviceAccess(libusb_device* device);