summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2010-02-21 00:51:02 (GMT)
committerDaniel Molkentin <daniel.molkentin@nokia.com>2010-02-21 00:51:02 (GMT)
commit07ae120783f12a3f21b86d10ee12cbce2f83b38f (patch)
tree6f441ce3b38bf51207587eaaa8144b3387b589cf /src
parent8f10ca802dee1ed110f301191c4a56a85575033c (diff)
downloadQt-07ae120783f12a3f21b86d10ee12cbce2f83b38f.zip
Qt-07ae120783f12a3f21b86d10ee12cbce2f83b38f.tar.gz
Qt-07ae120783f12a3f21b86d10ee12cbce2f83b38f.tar.bz2
QtMultimedia: Fix compilation of qml/qsoundeffect_pulse on 64 bit.
Diffstat (limited to 'src')
-rw-r--r--src/multimedia/qml/qsoundeffect_pulse_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multimedia/qml/qsoundeffect_pulse_p.cpp b/src/multimedia/qml/qsoundeffect_pulse_p.cpp
index b1e5982..7057022 100644
--- a/src/multimedia/qml/qsoundeffect_pulse_p.cpp
+++ b/src/multimedia/qml/qsoundeffect_pulse_p.cpp
@@ -362,7 +362,7 @@ void QSoundEffectPrivate::decoderReady()
}
if (m_name.isNull())
- m_name = QString(QLatin1String("QtPulseSample-%1-%2")).arg(::getpid()).arg(int(this)).toUtf8();
+ m_name = QString(QLatin1String("QtPulseSample-%1-%2")).arg(::getpid()).arg(quintptr(this)).toUtf8();
pa_sample_spec spec = audioFormatToSampleSpec(m_waveDecoder->audioFormat());