Commit d03111f9 authored by Leander Schulten's avatar Leander Schulten

C++: Fix warnings

parent 8b04d7fe
Pipeline #288103 passed with stage
in 9 minutes and 54 seconds
......@@ -71,7 +71,7 @@ void AudioCaptureManager::dataCallback(float* data, unsigned int frames, bool*do
}
} else {
while (restFrames != 0) {
if (restFrames >= sample.size()) {
if (restFrames >= static_cast<int>(sample.size())) {
// we have to ignore some data
restFrames -= samplesPerFrame;
continue;
......
......@@ -98,7 +98,7 @@ QSGGeometryNode *createNode() {
return gNode;
}
QSGNode *AudioEventDataView::updatePaintNode(QSGNode *node, QQuickItem::UpdatePaintNodeData *transformNode) {
QSGNode *AudioEventDataView::updatePaintNode(QSGNode *node, QQuickItem::UpdatePaintNodeData * /*transformNode*/) {
if (!node) {
node = new QSGNode;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment