summaryrefslogtreecommitdiffstats
path: root/Plugins/SqlEnterpriseFormatter/formatstatement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/SqlEnterpriseFormatter/formatstatement.cpp')
-rw-r--r--Plugins/SqlEnterpriseFormatter/formatstatement.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Plugins/SqlEnterpriseFormatter/formatstatement.cpp b/Plugins/SqlEnterpriseFormatter/formatstatement.cpp
index b5fd408..be5bc49 100644
--- a/Plugins/SqlEnterpriseFormatter/formatstatement.cpp
+++ b/Plugins/SqlEnterpriseFormatter/formatstatement.cpp
@@ -343,10 +343,10 @@ FormatStatement& FormatStatement::withLiteral(const QVariant& value)
}
}
- value.toInt(&ok);
+ qint64 longVal = value.toLongLong(&ok);
if (ok)
{
- withInteger(value.toInt());
+ withInteger(longVal);
return *this;
}