From 73a6e7e24a7f08d2a60f30ece97cff3a22a8b13a Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 3 Feb 2015 17:39:20 +0100 Subject: fix int to void * cast --- ext/odbc/php_odbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/odbc/php_odbc.c') diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index cd4964346f..692128c59f 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -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, ¶ms[i-1].vallen); } else { #ifdef HAVE_DBMAKER -- cgit v1.2.1