]> granicus.if.org Git - postgresql/commit
Fix use of offsetof()
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 30 Aug 2016 16:00:00 +0000 (12:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 30 Sep 2016 18:00:44 +0000 (14:00 -0400)
commitf1a469c9f1cfeab9f9c7d4a5d3e75892e7b6f60c
tree6a2ff1564f11a52dcbd559db784c82b97d3e8fc3
parent3d39244e6e7374febff59eba338f7a82f696a618
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>
contrib/bloom/blutils.c