Bug 651461 - Fix build failure in nsAudioStream.cpp due to conflicting types; r=roc

This commit is contained in:
Landry Breuil 2011-04-22 10:38:42 +02:00
parent 7136395d5d
commit f2dbde01af

View File

@ -566,7 +566,7 @@ PRInt64 nsAudioStreamLocal::GetSampleOffset()
#if defined(XP_WIN)
positionType = SA_POSITION_WRITE_HARDWARE;
#endif
PRInt64 position = 0;
int64_t position = 0;
if (sa_stream_get_position(static_cast<sa_stream_t*>(mAudioHandle),
positionType, &position) == SA_SUCCESS) {
return position / sizeof(short);