From f5502ef29d332c099e23076fef932c130dfa48a2 Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 9 Feb 2010 20:15:35 +0000 Subject: [PATCH] SqlCommander: #include case fixed git-svn-id: svn://ultimatepp.org/upp/trunk@2043 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Oracle/Oci8.cpp | 2 +- uppsrc/SqlCommander/SqlCommander.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uppsrc/Oracle/Oci8.cpp b/uppsrc/Oracle/Oci8.cpp index 44675bafe..8405f91ba 100644 --- a/uppsrc/Oracle/Oci8.cpp +++ b/uppsrc/Oracle/Oci8.cpp @@ -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 { diff --git a/uppsrc/SqlCommander/SqlCommander.cpp b/uppsrc/SqlCommander/SqlCommander.cpp index 1aa914b64..dadd4e111 100644 --- a/uppsrc/SqlCommander/SqlCommander.cpp +++ b/uppsrc/SqlCommander/SqlCommander.cpp @@ -6,7 +6,7 @@ #ifndef flagNOSQLLITE #define HAVE_SQLLITE - #include + #include #endif #ifndef flagNOMYSQL