summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r--ext/odbc/php_odbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index 5b884049f7..8497a5690a 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -847,10 +847,10 @@ PHP_FUNCTION(odbc_execute)
char buf[4096];
int fp, nbytes;
while(rc == SQL_NEED_DATA) {
- rc = SQLParamData(result->stmt, (PTR FAR *)&fp);
+ rc = SQLParamData(result->stmt, (void*)&fp);
if (rc == SQL_NEED_DATA) {
while((nbytes = read(fp, &buf, 4096)) > 0)
- SQLPutData(result->stmt,(UCHAR FAR*) &buf, nbytes);
+ SQLPutData(result->stmt, (void*)&buf, nbytes);
}
}
} else {