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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy