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
|
try
|
||||||
{
|
{
|
||||||
out.putInt(myMembers.size());
|
out.putInt(uInt32(myMembers.size()));
|
||||||
for(const DelayQueueMember& m: myMembers)
|
for(const DelayQueueMember& m: myMembers)
|
||||||
m.save(out);
|
m.save(out);
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ bool DelayQueueMember::save(Serializer& out) const
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
out.putInt(mySize);
|
out.putInt(mySize);
|
||||||
for(size_t i = 0; i < mySize; ++i)
|
for(uInt32 i = 0; i < mySize; ++i)
|
||||||
{
|
{
|
||||||
const Entry& e = myEntries[i];
|
const Entry& e = myEntries[i];
|
||||||
out.putByte(e.address);
|
out.putByte(e.address);
|
||||||
|
@ -75,8 +75,8 @@ bool DelayQueueMember::load(Serializer& in)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
mySize = size_t(in.getInt());
|
mySize = in.getInt();
|
||||||
for(size_t i = 0; i < mySize; ++i)
|
for(uInt32 i = 0; i < mySize; ++i)
|
||||||
{
|
{
|
||||||
Entry& e = myEntries[i];
|
Entry& e = myEntries[i];
|
||||||
e.address = in.getByte();
|
e.address = in.getByte();
|
||||||
|
|
|
@ -62,7 +62,7 @@ class DelayQueueMember : public Serializable
|
||||||
|
|
||||||
private:
|
private:
|
||||||
vector<Entry> myEntries;
|
vector<Entry> myEntries;
|
||||||
size_t mySize;
|
uInt32 mySize;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DelayQueueMember(const DelayQueueMember&) = delete;
|
DelayQueueMember(const DelayQueueMember&) = delete;
|
||||||
|
|
Loading…
Reference in New Issue