Skip to content

Commit 199f8f2

Browse files
committed
Fix GEVHDRSZ for Win32.
Magnus Hagander
1 parent d8f75d4 commit 199f8f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/access/gist.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
1010
* Portions Copyright (c) 1994, Regents of the University of California
1111
*
12-
* $PostgreSQL: pgsql/src/include/access/gist.h,v 1.52 2006/03/05 15:58:53 momjian Exp $
12+
* $PostgreSQL: pgsql/src/include/access/gist.h,v 1.53 2006/06/25 01:02:12 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -142,7 +142,7 @@ typedef struct
142142
GISTENTRY vector[1];
143143
} GistEntryVector;
144144

145-
#define GEVHDRSZ (offsetof(GistEntryVector, vector[0]))
145+
#define GEVHDRSZ (offsetof(GistEntryVector, vector))
146146

147147
/*
148148
* macro to initialize a GISTENTRY

0 commit comments

Comments
 (0)