1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +03:00

This patch will stop gcc from issuing warnings about type-punned objects

when -fstrict-aliasing is turned on, as it is in the latest gcc when you
use -O2

Andrew Dunstan
This commit is contained in:
Bruce Momjian
2003-10-11 16:30:55 +00:00
parent 386e0f9046
commit d51368dbbd
5 changed files with 13 additions and 13 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.86 2003/10/06 16:38:27 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.87 2003/10/11 16:30:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -3525,7 +3525,7 @@ validateForeignKeyConstraint(FkConstraint *fkconstraint,
trigdata.tg_newtuple = NULL;
trigdata.tg_trigger = &trig;
fcinfo.context = (Node *) &trigdata;
fcinfo.context = (void *) &trigdata;
RI_FKey_check_ins(&fcinfo);
}