mirror of https://github.com/stella-emu/stella.git
Fixed minor warnings in Xcode build.
This commit is contained in:
parent
2e4849411b
commit
3a8967f349
|
@ -62,7 +62,7 @@ bool DelayQueue::save(Serializer& out) const
|
|||
{
|
||||
try
|
||||
{
|
||||
out.putInt(myMembers.size());
|
||||
out.putInt(uInt32(myMembers.size()));
|
||||
for(const DelayQueueMember& m: myMembers)
|
||||
m.save(out);
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ bool DelayQueueMember::save(Serializer& out) const
|
|||
try
|
||||
{
|
||||
out.putInt(mySize);
|
||||
for(size_t i = 0; i < mySize; ++i)
|
||||
for(uInt32 i = 0; i < mySize; ++i)
|
||||
{
|
||||
const Entry& e = myEntries[i];
|
||||
out.putByte(e.address);
|
||||
|
@ -75,8 +75,8 @@ bool DelayQueueMember::load(Serializer& in)
|
|||
{
|
||||
try
|
||||
{
|
||||
mySize = size_t(in.getInt());
|
||||
for(size_t i = 0; i < mySize; ++i)
|
||||
mySize = in.getInt();
|
||||
for(uInt32 i = 0; i < mySize; ++i)
|
||||
{
|
||||
Entry& e = myEntries[i];
|
||||
e.address = in.getByte();
|
||||
|
|
|
@ -62,7 +62,7 @@ class DelayQueueMember : public Serializable
|
|||
|
||||
private:
|
||||
vector<Entry> myEntries;
|
||||
size_t mySize;
|
||||
uInt32 mySize;
|
||||
|
||||
private:
|
||||
DelayQueueMember(const DelayQueueMember&) = delete;
|
||||
|
|
Loading…
Reference in New Issue