aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/debugger
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2016-04-28 15:52:49 +0200
committerChristian Stenger <christian.stenger@qt.io>2016-04-28 13:55:33 +0000
commit43f245bda3cff354744a7d10eaf13f06bef26a14 (patch)
tree5bd474af8e45f10d20cac0038ecbe8e724219d40 /tests/manual/debugger
parent238d045b876eec06515584b2468e7f5ef6557289 (diff)
Tests: Fix missing return
Change-Id: I78fdad351d7389f2d046c2cf1793cdca2d972815 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'tests/manual/debugger')
-rw-r--r--tests/manual/debugger/simple/simple_test_app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp
index 20190cc2649..8d93f50e3b4 100644
--- a/tests/manual/debugger/simple/simple_test_app.cpp
+++ b/tests/manual/debugger/simple/simple_test_app.cpp
@@ -280,7 +280,7 @@ uint qHash(const double & f) { return int(f); }
#ifdef Q_OS_WIN
uint qHash(const QPointer<QObject> &p) { return PtrToUint(p.data()); }
#else
-uint qHash(const QPointer<QObject> &p) { (ulong)p.data(); }
+uint qHash(const QPointer<QObject> &p) { return (ulong)p.data(); }
#endif
QT_END_NAMESPACE