diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-06-15 14:58:42 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-06-15 15:03:29 (GMT) |
commit | b8231cb61129964dfecaf862b6ef5fecb6753c01 (patch) | |
tree | 129dc5311dc84d9eaa6d63d3a145e621d6eff291 /src/sql | |
parent | 2092ea2bacca35c79fff76e0c159a23d87d0571b (diff) | |
download | Qt-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.cpp | 2 |
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, |