summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-02-03 17:39:20 +0100
committerAnatol Belski <ab@php.net>2015-02-03 17:52:18 +0100
commit73a6e7e24a7f08d2a60f30ece97cff3a22a8b13a (patch)
tree044ed85047d11ee094fa3e341aa391a3c8997b5f /ext/odbc/php_odbc.c
parentd920cc427ba568bd75bb21ffd43b804b9efb8c09 (diff)
downloadphp-git-73a6e7e24a7f08d2a60f30ece97cff3a22a8b13a.tar.gz
fix int to void * cast
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r--ext/odbc/php_odbc.c2
1 files changed, 1 insertions, 1 deletions
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,
&params[i-1].vallen);
} else {
#ifdef HAVE_DBMAKER