mirror of https://github.com/stella-emu/stella.git
Fix a bunch of warnings in XCode / clang.
This commit is contained in:
parent
c57253c9e6
commit
bff2c7a5e7
|
@ -200,7 +200,7 @@ class LinkedObjectPool
|
|||
#endif
|
||||
uInt32 capacity() const { return CAPACITY; }
|
||||
|
||||
uInt32 size() const { return myList.size(); }
|
||||
size_t size() const { return myList.size(); }
|
||||
bool empty() const { return myList.size() == 0; }
|
||||
bool full() const { return myList.size() >= CAPACITY; }
|
||||
|
||||
|
|
|
@ -126,9 +126,9 @@ void RewindManager::compressStates()
|
|||
uInt64 lastCycle = currentCycle;
|
||||
double expectedCycles = 76 * 262.0; // == cycles of 1 frame, TODO: use actual number of scanlines
|
||||
double maxDelta = 0;
|
||||
uInt32 removeIdx = 0;
|
||||
size_t removeIdx = 0;
|
||||
|
||||
uInt32 idx = myStateList.size() - 1;
|
||||
size_t idx = myStateList.size() - 1;
|
||||
for(auto it = myStateList.last(); it != myStateList.first(); --it)
|
||||
{
|
||||
cerr << *it << endl << endl; // debug code
|
||||
|
|
Loading…
Reference in New Issue