summaryrefslogtreecommitdiffstats
path: root/src/quick3d/quick3drender/items/quick3draycaster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick3d/quick3drender/items/quick3draycaster.cpp')
-rw-r--r--src/quick3d/quick3drender/items/quick3draycaster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick3d/quick3drender/items/quick3draycaster.cpp b/src/quick3d/quick3drender/items/quick3draycaster.cpp
index d0c282a1c..dad28bbbe 100644
--- a/src/quick3d/quick3drender/items/quick3draycaster.cpp
+++ b/src/quick3d/quick3drender/items/quick3draycaster.cpp
@@ -56,7 +56,7 @@ void Quick3DRayCasterPrivate::appendLayer(QQmlListProperty<QLayer> *list, QLayer
filter->addLayer(layer);
}
-QLayer *Quick3DRayCasterPrivate::layerAt(QQmlListProperty<QLayer> *list, int index)
+QLayer *Quick3DRayCasterPrivate::layerAt(QQmlListProperty<QLayer> *list, qsizetype index)
{
QAbstractRayCaster *filter = qobject_cast<QAbstractRayCaster *>(list->object);
if (filter)
@@ -64,7 +64,7 @@ QLayer *Quick3DRayCasterPrivate::layerAt(QQmlListProperty<QLayer> *list, int ind
return nullptr;
}
-int Quick3DRayCasterPrivate::layerCount(QQmlListProperty<QLayer> *list)
+qsizetype Quick3DRayCasterPrivate::layerCount(QQmlListProperty<QLayer> *list)
{
QAbstractRayCaster *filter = qobject_cast<QAbstractRayCaster *>(list->object);
if (filter)