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 | 2a3ec70d100e2d721b2d14fd0a60ce90c17b51b8 (patch) | |
tree | 73cc90d10ca2d3db695d8ad6cec4cacb3a62aa41 /ext/mysqlnd/mysqlnd_result.c | |
parent | 8109abba8b4b037b192af4e8f2f0498d1d1b2926 (diff) | |
download | php-git-2a3ec70d100e2d721b2d14fd0a60ce90c17b51b8.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_result.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_result.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_result.c b/ext/mysqlnd/mysqlnd_result.c index 82b396c674..a1877e38cb 100644 --- a/ext/mysqlnd/mysqlnd_result.c +++ b/ext/mysqlnd/mysqlnd_result.c @@ -2073,7 +2073,7 @@ PHPAPI void ** _mysqlnd_plugin_get_plugin_result_data(const MYSQLND_RES * result if (!result || plugin_id >= mysqlnd_plugin_count()) { return NULL; } - DBG_RETURN((void *)result + sizeof(MYSQLND_RES) + plugin_id * sizeof(void *)); + DBG_RETURN((void *)(result + sizeof(MYSQLND_RES) + plugin_id * sizeof(void *))); } /* }}} */ |