aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/SqlEnterpriseFormatter/formatstatement.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2015-02-22 14:06:29 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2015-02-22 14:06:29 -0500
commit306d6d3ca9c9ad774d19135681a7f9805f77035f (patch)
treea3e36ac2cc769162c30a1bcc33e126f7a4f4ccea /Plugins/SqlEnterpriseFormatter/formatstatement.cpp
parent016003905ca0e8e459e3dc33e786beda8ec92f45 (diff)
Imported Upstream version 3.0.3upstream/3.0.3
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;
}