mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Use '%lu' format when printing DWORD
Acoording th MSDN, DWORD is a typedef to unsigned long.
This commit is contained in:
committed by
Klaus Basan
parent
51b2aa6f88
commit
c1d8438ab7
@@ -56,7 +56,7 @@ namespace BlackSimPlugin
|
||||
const DWORD index = exception->dwIndex;
|
||||
const DWORD data = cbData;
|
||||
QString ex;
|
||||
ex.sprintf("Exception=%d SendID=%d Index=%d cbData=%d", exceptionId, sendId, index, data);
|
||||
ex.sprintf("Exception=%lu SendID=%lu Index=%lu cbData=%lu", exceptionId, sendId, index, data);
|
||||
switch (exceptionId)
|
||||
{
|
||||
case SIMCONNECT_EXCEPTION_OPERATION_INVALID_FOR_OBJECT_TYPE:
|
||||
|
||||
Reference in New Issue
Block a user