openbsd-ports/www/mozilla-firefox/patches/patch-content_media_nsAudioStream_cpp
landry ddd3e93eae Lo and behold, update to mozilla-firefox 4.0 !
Too much changes to list them, just enjoy it. Thanks to the ones who
tested the betas/rc.
ok jasper@
2011-03-30 21:39:14 +00:00

13 lines
586 B
Plaintext

$OpenBSD: patch-content_media_nsAudioStream_cpp,v 1.2 2011/03/30 21:39:14 landry Exp $
--- content/media/nsAudioStream.cpp.orig Wed Feb 23 06:53:27 2011
+++ content/media/nsAudioStream.cpp Sat Feb 26 09:25:34 2011
@@ -570,7 +570,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);