aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/graph/noisynode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph/graph/noisynode.cpp')
-rw-r--r--examples/quick/scenegraph/graph/noisynode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/graph/noisynode.cpp b/examples/quick/scenegraph/graph/noisynode.cpp
index d67110f48a..e85757d426 100644
--- a/examples/quick/scenegraph/graph/noisynode.cpp
+++ b/examples/quick/scenegraph/graph/noisynode.cpp
@@ -107,7 +107,7 @@ public:
if (!state.texture || !other->state.texture)
return state.texture ? 1 : -1;
- if (int diff = state.texture->comparisonKey() - other->state.texture->comparisonKey())
+ if (qint64 diff = state.texture->comparisonKey() - other->state.texture->comparisonKey())
return diff;
return 0;