aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlscript_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlscript_p.h')
-rw-r--r--src/qml/qml/qqmlscript_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlscript_p.h b/src/qml/qml/qqmlscript_p.h
index 60e667e4ea..f2e108e3d7 100644
--- a/src/qml/qml/qqmlscript_p.h
+++ b/src/qml/qml/qqmlscript_p.h
@@ -76,9 +76,9 @@ namespace QQmlScript {
struct Location
{
- Location() : line(-1), column(-1) {}
- int line;
- int column;
+ Location() : line(0), column(0) {}
+ quint16 line;
+ quint16 column;
inline bool operator<(const Location &other) {
return line < other.line ||