summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-content_media_nsAudioStream_cpp
blob: 23525db876d2cc2107545658722df2c7ffbfec0e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mozilla-release.orig/content/media/nsAudioStream.cpp	2011-07-08 03:15:16.000000000 +0200
+++ mozilla-release/content/media/nsAudioStream.cpp	2011-07-29 15:50:34.000000000 +0200
@@ -566,7 +566,7 @@ PRInt64 nsAudioStreamLocal::GetSampleOff
 #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);