SqlCommander: #include case fixed

git-svn-id: svn://ultimatepp.org/upp/trunk@2043 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-02-09 20:15:35 +00:00
parent 391406d4c9
commit f5502ef29d
2 changed files with 2 additions and 2 deletions

View file

@ -577,7 +577,7 @@ void OCI8Connection::GetColumn(int i, double& n) const {
if(c.ind < 0)
n = DOUBLE_NULL;
else
n = c.type == SQLT_BLOB || c.type == SQLT_CLOB ? (int)c.lob : *(double *) c.Data();
n = c.type == SQLT_BLOB || c.type == SQLT_CLOB ? (int)(uintptr_t)c.lob : *(double *) c.Data();
}
void OCI8Connection::GetColumn(int i, int& n) const {

View file

@ -6,7 +6,7 @@
#ifndef flagNOSQLLITE
#define HAVE_SQLLITE
#include <plugin/sqlite3/sqlite3.h>
#include <plugin/sqlite3/Sqlite3.h>
#endif
#ifndef flagNOMYSQL