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