summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-content_media_nsAudioStream_cpp
blob: 7f052849c6da355e56b50696509f80f49958e412 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mozilla-2.0.orig/content/media/nsAudioStream.cpp	2011-03-19 00:33:34.000000000 +0100
+++ mozilla-2.0/content/media/nsAudioStream.cpp	2011-04-23 23:18:01.000000000 +0200
@@ -570,7 +570,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);