diff audioio/AudioPulseAudioTarget.cpp @ 463:ad998a2fe9e2

Fix a number of warnings in the 32-bit build
author Chris Cannam
date Wed, 01 Jul 2015 15:53:54 +0100
parents 72c662fe7ea3
children
line wrap: on
line diff
--- a/audioio/AudioPulseAudioTarget.cpp	Wed Jun 10 17:06:02 2015 +0100
+++ b/audioio/AudioPulseAudioTarget.cpp	Wed Jul 01 15:53:54 2015 +0100
@@ -259,7 +259,8 @@
               << nframes * tmpbufch * sizeof(float) << " bytes" << endl;
 #endif
 
-    pa_stream_write(m_stream, output, nframes * tmpbufch * sizeof(float),
+    pa_stream_write(m_stream, output,
+                    size_t(nframes * tmpbufch * sizeof(float)),
                     0, 0, PA_SEEK_RELATIVE);
 
     m_source->setOutputLevels(peakLeft, peakRight);