* Fix another set of 64-bits related problems.
* The code is now expected to compile on linux-64bits, but as I
  can't test, I can't be positive about it really compiling,
  much less working.
This commit is contained in:
jean.chalard
2010-01-27 07:25:48 +00:00
parent dc35b32dac
commit f38dbf1746
2 changed files with 4 additions and 4 deletions

View File

@@ -187,10 +187,10 @@ void GameApp::Create()
JSoundSystem::GetInstance()->SetMusicVolume(options[Options::MUSICVOLUME].number);
char buf[512];
sprintf(buf, "size of MTGCard : %i\n" , sizeof(MTGCard));
sprintf(buf, "size of MTGCard : %lu\n" , sizeof(MTGCard));
OutputDebugString(buf);
sprintf(buf, "size of CardPrimitive : %i\n" , sizeof(CardPrimitive));
sprintf(buf, "size of CardPrimitive : %lu\n" , sizeof(CardPrimitive));
OutputDebugString(buf);
}
@@ -296,7 +296,7 @@ void GameApp::Update()
void GameApp::Render()
{
if (systemError.size()){
fprintf(stderr, systemError.c_str());
fprintf(stderr, "%s", systemError.c_str());
JLBFont * mFont= resources.GetJLBFont("simon");
if (mFont) mFont->DrawString(systemError.c_str(),1,1);
return;