From: James Turner Date: Thu, 13 Mar 2014 18:18:36 +0000 (+0000) Subject: Fix compilation with SYSTEM_SQLITE X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7041ed907891f7be0205cafe13b218f9f2767efa;p=flightgear.git Fix compilation with SYSTEM_SQLITE --- diff --git a/src/Navaids/NavDataCache.cxx b/src/Navaids/NavDataCache.cxx index b49675646..88a432200 100644 --- a/src/Navaids/NavDataCache.cxx +++ b/src/Navaids/NavDataCache.cxx @@ -1453,7 +1453,7 @@ FGPositionedRef NavDataCache::loadById(PositionedID rowid) return it->second; // cache it } - PositionedID aptId; + sqlite3_int64 aptId; FGPositioned* pos = d->loadById(rowid, aptId); d->cache.insert(it, PositionedCache::value_type(rowid, pos)); d->cacheMisses++;