1 --- php-5.2.3/ext/mysqli/mysqli_api.c.org 2007-07-15 19:43:05.561310037 +0200
2 +++ php-5.2.3/ext/mysqli/mysqli_api.c 2007-07-15 19:43:20.862032668 +0200
6 bind[ofs].buffer_type = MYSQL_TYPE_DOUBLE;
7 - bind[ofs].buffer = (gptr)&Z_DVAL_PP(args[i]);
8 + bind[ofs].buffer = (char *)&Z_DVAL_PP(args[i]);
9 bind[ofs].is_null = &stmt->param.is_null[ofs];
12 case 'i': /* Integer */
13 bind[ofs].buffer_type = MYSQL_TYPE_LONG;
14 - bind[ofs].buffer = (gptr)&Z_LVAL_PP(args[i]);
15 + bind[ofs].buffer = (char *)&Z_LVAL_PP(args[i]);
16 bind[ofs].is_null = &stmt->param.is_null[ofs];
21 case MYSQL_TYPE_DOUBLE:
22 convert_to_double_ex(&stmt->param.vars[i]);
23 - stmt->stmt->params[i].buffer = (gptr)&Z_LVAL_PP(&stmt->param.vars[i]);
24 + stmt->stmt->params[i].buffer = (char *)&Z_LVAL_PP(&stmt->param.vars[i]);
27 convert_to_long_ex(&stmt->param.vars[i]);
28 - stmt->stmt->params[i].buffer = (gptr)&Z_LVAL_PP(&stmt->param.vars[i]);
29 + stmt->stmt->params[i].buffer = (char *)&Z_LVAL_PP(&stmt->param.vars[i]);