fix int to void * cast

This commit is contained in:
Anatol Belski 2015-02-03 17:39:20 +01:00
parent d920cc427b
commit 73a6e7e24a

View File

@ -1358,7 +1358,7 @@ PHP_FUNCTION(odbc_execute)
rc = SQLBindParameter(result->stmt, (SQLUSMALLINT)i, SQL_PARAM_INPUT,
ctype, sqltype, precision, scale,
(void *)params[i-1].fp, 0,
(void *)(intptr_t)params[i-1].fp, 0,
&params[i-1].vallen);
} else {
#ifdef HAVE_DBMAKER