cvs: php3 /functions unified_odbc.c
| From: | Frank M. Kromann | Date: | Wed, 11 Oct 2000 22:33:54 +0000 |
| Subject: | cvs: php3 /functions unified_odbc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2015@lists.php.net to get a copy of this message | ||
fmk Wed Oct 11 15:33:54 2000 EDT
Modified files:
/php3/functions unified_odbc.c
Log:
Change typecast from SQLSMALLINT to shart int. This willl work on Solid as well.
Index: php3/functions/unified_odbc.c
diff -u php3/functions/unified_odbc.c:1.114 php3/functions/unified_odbc.c:1.115
--- php3/functions/unified_odbc.c:1.114 Wed Oct 11 15:00:04 2000
+++ php3/functions/unified_odbc.c Wed Oct 11 15:33:54 2000
@@ -29,7 +29,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: unified_odbc.c,v 1.114 2000/10/11 22:00:04 fmk Exp $ */
+/* $Id: unified_odbc.c,v 1.115 2000/10/11 22:33:54 fmk Exp $ */
/* This file is based on the Adabas D extension.
* Adabas D will no longer be supported as separate module.
@@ -601,10 +601,10 @@
}
rc = SQLTables(result->stmt,
- cat, (SQLSMALLINT)strlen(cat),
- schema, (SQLSMALLINT)strlen(schema),
- table, (SQLSMALLINT)strlen(table),
- type, (SQLSMALLINT)strlen(type));
+ cat, (short int)strlen(cat),
+ schema, (short int)strlen(schema),
+ table, (short int)strlen(table),
+ type, (short int)strlen(type));
if (rc == SQL_ERROR) {
UODBC_SQL_ERROR(conn->hdbc, SQL_NULL_HSTMT, "SQLTables");