diff options
| author | Nick Gorham <lurcher@php.net> | 2000-04-16 16:16:59 +0000 |
|---|---|---|
| committer | Nick Gorham <lurcher@php.net> | 2000-04-16 16:16:59 +0000 |
| commit | 1b7bfe5bbf6837e0f674a1ec6112e21695d0047a (patch) | |
| tree | fc6cfe6275f39c1f6e092165c2bbab8c56d4f53f /ext/odbc/php_odbc.c | |
| parent | d39724c536ceda48f4efddead71276363d8cc5f3 (diff) | |
| download | php-git-1b7bfe5bbf6837e0f674a1ec6112e21695d0047a.tar.gz | |
Removed unnecessary FAR's (I am assuming we don't need to work under
16 bit windows). They break several ODBC builds.
Diffstat (limited to 'ext/odbc/php_odbc.c')
| -rw-r--r-- | ext/odbc/php_odbc.c | 4 |
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 { |
