28bb810af5
Merge patches for 1.9.2 mozilla branch from firefox 3.6.x port. While here, build lightning as a subpackage using --enable-calendar. Add @pkgpath/@conflict markers for seamless upgrades.
13 lines
628 B
Plaintext
13 lines
628 B
Plaintext
$OpenBSD: patch-mozilla_content_media_nsAudioStream_cpp,v 1.1 2010/07/27 17:01:16 landry Exp $
|
|
--- mozilla/content/media/nsAudioStream.cpp.orig Wed Jul 7 08:51:17 2010
|
|
+++ mozilla/content/media/nsAudioStream.cpp Wed Jul 7 08:52:32 2010
|
|
@@ -246,7 +246,7 @@ float nsAudioStream::GetPosition()
|
|
#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 / float(mRate) / mChannels / sizeof(short));
|