Fix some compiler warnings.
Mostly about deprecated ASCII casts. Change-Id: I70428913799c15f20a1a5f80be57848e1072e058 Reviewed-on: http://codereview.qt.nokia.com/4158 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
123ffbd783
commit
7507c80524
@@ -359,7 +359,7 @@ qint64 QPulseAudioInput::read(char *data, qint64 len)
|
||||
emit stateChanged(m_deviceState);
|
||||
}
|
||||
|
||||
size_t readBytes = 0;
|
||||
int readBytes = 0;
|
||||
|
||||
if (!m_pullMode && !m_tempBuffer.isEmpty()) {
|
||||
readBytes = qMin(static_cast<int>(len), m_tempBuffer.size());
|
||||
|
||||
Reference in New Issue
Block a user