summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-12-03 09:43:26 +0000
committerAndrey Hristov <andrey@php.net>2009-12-03 09:43:26 +0000
commitbfc0ec18910052d5e88bf1badcefff017bde8b65 (patch)
tree988c0967a55c753cdb1c9bfb657ff394baea20da /ext/mysql/php_mysql.h
parent28d53f87529cfec93263ba727c12bb9572b1beac (diff)
downloadphp-git-bfc0ec18910052d5e88bf1badcefff017bde8b65.tar.gz
fix segfault introduced by Pierre in a recent commit
old code was doing something like conn + sizeof(MYSQLND) * MYSQLND + plugin * sizeof(void) * sizeof(MYSQLND) because `conn` is not casted to void*. `conn` has to be casted to void * and then the whole experession will be void * and the calculations will work.
Diffstat (limited to 'ext/mysql/php_mysql.h')
0 files changed, 0 insertions, 0 deletions