fixed conversion warnings

This commit is contained in:
Steve Checkoway
2003-04-20 12:53:38 +00:00
parent 09d633005f
commit 86fce28601
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ void RageSoundManager::Update(float delta)
RageSound *s = j->first;
FakeSound &fake = j->second;
int bytes = min(unsigned(delta * 44100*4), sizeof(buf));
int bytes = static_cast<int>(min(unsigned(delta * 44100*4), sizeof(buf)));
int now = int(RageTimer::GetTimeSinceStart() - fake.begin) * 44100;