aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_moth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/compiler/qv4isel_moth.cpp')
-rw-r--r--src/qml/compiler/qv4isel_moth.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp
index 1e0e88730b..4ae65938da 100644
--- a/src/qml/compiler/qv4isel_moth.cpp
+++ b/src/qml/compiler/qv4isel_moth.cpp
@@ -1038,7 +1038,7 @@ void InstructionSelection::visitJump(IR::Jump *s)
if (blockNeedsDebugInstruction) {
Instruction::Debug debug;
- debug.lineNumber = -currentLine;
+ debug.lineNumber = -int(currentLine);
addInstruction(debug);
}
@@ -1053,7 +1053,7 @@ void InstructionSelection::visitCJump(IR::CJump *s)
{
if (blockNeedsDebugInstruction) {
Instruction::Debug debug;
- debug.lineNumber = -currentLine;
+ debug.lineNumber = -int(currentLine);
addInstruction(debug);
}
@@ -1093,7 +1093,7 @@ void InstructionSelection::visitRet(IR::Ret *s)
if (blockNeedsDebugInstruction) {
// this is required so stepOut will always be guaranteed to stop in every stack frame
Instruction::Debug debug;
- debug.lineNumber = -currentLine;
+ debug.lineNumber = -int(currentLine);
addInstruction(debug);
}