mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 22:29:13 +08:00
Fixed gcc warnings
This commit is contained in:
@@ -44,7 +44,9 @@ namespace BlackSimPlugin
|
|||||||
{
|
{
|
||||||
SIMCONNECT_RECV_EXCEPTION *exception = (SIMCONNECT_RECV_EXCEPTION *)pData;
|
SIMCONNECT_RECV_EXCEPTION *exception = (SIMCONNECT_RECV_EXCEPTION *)pData;
|
||||||
QString ex;
|
QString ex;
|
||||||
ex.sprintf("Exception=%d SendID=%d Index=%d cbData=%d", exception->dwException, exception->dwSendID, exception->dwIndex, cbData);
|
ex.sprintf("Exception=%d SendID=%d Index=%d cbData=%d",
|
||||||
|
static_cast<int>(exception->dwException), static_cast<int>(exception->dwSendID),
|
||||||
|
static_cast<int>(exception->dwIndex), static_cast<int>(cbData));
|
||||||
qDebug() << "Caught simConnect exception: " << CSimConnectUtilities::simConnectExceptionToString((SIMCONNECT_EXCEPTION)exception->dwException);
|
qDebug() << "Caught simConnect exception: " << CSimConnectUtilities::simConnectExceptionToString((SIMCONNECT_EXCEPTION)exception->dwException);
|
||||||
qDebug() << ex;
|
qDebug() << ex;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user