Cast size_t to unsigned long for printf to deal with (32-bit)

systems where size_t is typedef int.

It's either this or use the C99 %zu but while we can probably
safely assume C99 compilers, I am not at all sure that that's the
case for stdio libraries and this solution is fairly low-impact.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6535 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-12-05 18:22:41 +00:00
parent d171f7277b
commit 738e5e55ee
11 changed files with 52 additions and 26 deletions

View File

@ -28,7 +28,7 @@ void SymbolDB::List()
iter->second.numCalls);
}
INFO_LOG(OSHLE, "%lu functions known in this program above.",
functions.size());
(unsigned long)functions.size());
}
void SymbolDB::Clear(const char *prefix)