Fix use of offsetof()

Peter Eisentraut <peter_e@gmx.net>

Commit: f1a469c9f1cfeab9f9c7d4a5d3e75892e7b6f60c
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2016-09-30T18:00:44Z
Releases: 10.0
Fix use of offsetof()

Using offsetof() with a run-time computed argument is not allowed in
either C or C++.  Apparently, gcc allows it, but g++ doesn't.

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>

Files

PathChange+/−
contrib/bloom/blutils.c modified +1 −1