]> granicus.if.org Git - php/commitdiff
Fixed compiler warning
authorIlia Alshanetsky <iliaa@php.net>
Tue, 25 Oct 2005 03:53:25 +0000 (03:53 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 25 Oct 2005 03:53:25 +0000 (03:53 +0000)
ext/pdo/pdo_stmt.c

index 6be0029c6ec3758851e10e77b98e0b3703112e3a..ff9b273e428a098fc37fe07def3ff36ed0b5a893 100755 (executable)
@@ -556,7 +556,7 @@ static int do_fetch_common(pdo_stmt_t *stmt, enum pdo_fetch_orientation ori,
                                zval_dtor(param->parameter);
 
                                /* set new value */
-                               fetch_value(stmt, param->parameter, param->paramno, &param->param_type TSRMLS_CC);
+                               fetch_value(stmt, param->parameter, param->paramno, (int *)&param->param_type TSRMLS_CC);
 
                                /* TODO: some smart thing that avoids duplicating the value in the
                                 * general loop below.  For now, if you're binding output columns,