summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2009-06-15 14:58:42 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2009-06-15 15:03:29 (GMT)
commitb8231cb61129964dfecaf862b6ef5fecb6753c01 (patch)
tree129dc5311dc84d9eaa6d63d3a145e621d6eff291 /src/sql
parent2092ea2bacca35c79fff76e0c159a23d87d0571b (diff)
downloadQt-b8231cb61129964dfecaf862b6ef5fecb6753c01.zip
Qt-b8231cb61129964dfecaf862b6ef5fecb6753c01.tar.gz
Qt-b8231cb61129964dfecaf862b6ef5fecb6753c01.tar.bz2
Fix build error on Mac (Cocoa 64)
Using QSQLLEN instead of SQLINTEGER, similar to the one used in qGetIntData(). Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/drivers/odbc/qsql_odbc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/drivers/odbc/qsql_odbc.cpp b/src/sql/drivers/odbc/qsql_odbc.cpp
index f60c33c..941ac2e 100644
--- a/src/sql/drivers/odbc/qsql_odbc.cpp
+++ b/src/sql/drivers/odbc/qsql_odbc.cpp
@@ -446,7 +446,7 @@ static QVariant qGetIntData(SQLHANDLE hStmt, int column, bool isSigned = true)
static QVariant qGetDoubleData(SQLHANDLE hStmt, int column)
{
SQLDOUBLE dblbuf;
- SQLINTEGER lengthIndicator = 0;
+ QSQLLEN lengthIndicator = 0;
SQLRETURN r = SQLGetData(hStmt,
column+1,
SQL_C_DOUBLE,