BSound: Add explicit cast to bigtime_t.
Fixes the GCC2 build.
This commit is contained in:
@@ -143,7 +143,7 @@ BSound::Duration() const
|
||||
media_raw_audio_format::B_AUDIO_SIZE_MASK;
|
||||
int64 frameCount = Size() / (fFormat.channel_count * bytesPerSample);
|
||||
|
||||
return ceil((1000000LL * frameCount) / frameRate);
|
||||
return (bigtime_t)ceil((1000000LL * frameCount) / frameRate);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user