From f2dbde01afdb6f12037ce2fd68cda8ebfd431592 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Fri, 22 Apr 2011 10:38:42 +0200 Subject: [PATCH] Bug 651461 - Fix build failure in nsAudioStream.cpp due to conflicting types; r=roc --- content/media/nsAudioStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/media/nsAudioStream.cpp b/content/media/nsAudioStream.cpp index 624223c06d1..71b0a68d794 100644 --- a/content/media/nsAudioStream.cpp +++ b/content/media/nsAudioStream.cpp @@ -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(mAudioHandle), positionType, &position) == SA_SUCCESS) { return position / sizeof(short);