Some minor casting issues that trip up the 0.9.6 pspsdk when compiling.

This commit is contained in:
wrenczes@gmail.com
2010-10-06 09:22:44 +00:00
parent 1e7f2507f0
commit 9c982475fe
3 changed files with 5 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ const KeyRep& translateKey(LocalKeySym key) {
else
{
char* str = NEW char[11];
sprintf(str, "%d", key);
sprintf(str, "%d", (int) key);
fattable[key] = make_pair(str, static_cast<JQuad*>(static_cast<JQuad*>(NULL)));
}
res = fattable.find(key);