projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb30ac5
)
Fix incorrect header size macros
author
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 3 Nov 2005 18:16:31 +0000
(18:16 +0000)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 3 Nov 2005 18:16:31 +0000
(18:16 +0000)
contrib/tsearch2/ispell/regis.h
patch
|
blob
|
blame
|
history
diff --git
a/contrib/tsearch2/ispell/regis.h
b/contrib/tsearch2/ispell/regis.h
index fd03de45e985a90e00d822ce364cf21f97a081f2..6f26f66d46149f6ab0c255a7e359bd043e9190c2 100644
(file)
--- a/
contrib/tsearch2/ispell/regis.h
+++ b/
contrib/tsearch2/ispell/regis.h
@@
-13,7
+13,7
@@
typedef struct RegisNode
unsigned char data[1];
} RegisNode;
-#define RNHDRSZ (
sizeof(uint32)+sizeof(void*
))
+#define RNHDRSZ (
offsetof(RegisNode,data
))
#define RSF_ONEOF 1
#define RSF_NONEOF 2