remove all warnings on Mac OSX Snow Leopard

This commit is contained in:
erwin.coumans
2010-01-30 22:31:56 +00:00
parent 77b773f470
commit 788f48643b
40 changed files with 136 additions and 244 deletions

View File

@@ -1526,7 +1526,7 @@ void SoftDemo::renderme()
}
long ms=btMax<long>(m_clock.getTimeMilliseconds(),1);
long rayperseconds=(1000*(origins.size()*sbs.size()))/ms;
printf("%d ms (%d rays/s)\r\n",ms,rayperseconds);
printf("%d ms (%d rays/s)\r\n",int(ms),int(rayperseconds));
}
/* Draw rays */
const btVector3 c[]={ origins[0],