diff options
| author | Pierre Joye <pajoye@php.net> | 2009-11-30 10:56:01 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2009-11-30 10:56:01 +0000 |
| commit | 80e5ef6fa59507b6733ed6a5b132c21e64158d06 (patch) | |
| tree | da88eb2315ad4e0d2c9286b6a6d07211da1232cc /ext/mysqlnd/mysqlnd.c | |
| parent | 5c18a8b6c51bbc50497c3106460407f23cb1b063 (diff) | |
| download | php-git-80e5ef6fa59507b6733ed6a5b132c21e64158d06.tar.gz | |
- void is NaN, you can't do math ops on void. Declarations go first. Fix TS build
Diffstat (limited to 'ext/mysqlnd/mysqlnd.c')
| -rw-r--r-- | ext/mysqlnd/mysqlnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd.c b/ext/mysqlnd/mysqlnd.c index 365068d60c..3d4b02677a 100644 --- a/ext/mysqlnd/mysqlnd.c +++ b/ext/mysqlnd/mysqlnd.c @@ -2393,7 +2393,7 @@ PHPAPI void ** _mysqlnd_plugin_get_plugin_connection_data(const MYSQLND * conn, if (!conn || plugin_id >= mysqlnd_plugin_count()) { return NULL; } - DBG_RETURN((void *)conn + sizeof(MYSQLND) + plugin_id * sizeof(void *)); + DBG_RETURN((void *)(conn + sizeof(MYSQLND) + plugin_id * sizeof(void *))); } /* }}} */ |
