From 306d6d3ca9c9ad774d19135681a7f9805f77035f Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sun, 22 Feb 2015 14:06:29 -0500 Subject: Imported Upstream version 3.0.3 --- Plugins/SqlEnterpriseFormatter/formatstatement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Plugins/SqlEnterpriseFormatter/formatstatement.cpp') 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; } -- cgit v1.2.3