mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 07:34:50 +00:00
Fixed compilation warning in HID name formatting
This commit is contained in:
parent
c7fc44062e
commit
1529ff7730
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ FString IOKitJoystick::GetIdentifier()
|
||||||
{
|
{
|
||||||
char identifier[ 32 ] = {0};
|
char identifier[ 32 ] = {0};
|
||||||
|
|
||||||
snprintf( identifier, sizeof( identifier ), "VID_%04lx_PID_%04lx",
|
snprintf( identifier, sizeof( identifier ), "VID_%04x_PID_%04x",
|
||||||
IOHIDDevice_GetVendorID( m_device ), IOHIDDevice_GetProductID( m_device ) );
|
IOHIDDevice_GetVendorID( m_device ), IOHIDDevice_GetProductID( m_device ) );
|
||||||
|
|
||||||
return FString( identifier );
|
return FString( identifier );
|
||||||
|
|
Loading…
Reference in a new issue