]> git.mxchange.org Git - flightgear.git/commit
Fix a couple of 64-bit warnings identified by GCC.
authorThorstenB <brehmt@gmail.com>
Sun, 25 Nov 2012 23:23:10 +0000 (00:23 +0100)
committerThorstenB <brehmt@gmail.com>
Sun, 25 Nov 2012 23:23:10 +0000 (00:23 +0100)
commit7ed8b625c922cc526555c07b2e17c4807ec4af66
treef2b01c35393a83717ccff56a66bf7c04ef3c1729
parent63c95642c8758edff2cb27c1d1fbda842b9b23f5
Fix a couple of 64-bit warnings identified by GCC.
PositionedID is of "int64_t", which depends on platform: apparently it is
"long long int" for Mac (requiring %lld format), but it is "long int" for
64bit Linux (requiring %ld). To avoid a "compiler warning fix commit
war" ;-) use a type cast to the longest common type (long long int).
src/AIModel/AIFlightPlanCreate.cxx
src/AIModel/AIFlightPlanCreatePushBack.cxx