Use sizeof(PageHeaderData) in place of pageHeaderSize
authorChristoph Berg <[email protected]>
Sun, 2 Sep 2018 11:34:54 +0000 (13:34 +0200)
committerChristoph Berg <[email protected]>
Sun, 2 Sep 2018 11:34:54 +0000 (13:34 +0200)
commit25815e884a6987f25f3976c242f958bd18f0c118
tree6fe036694f2b623e7fcf3a7484aef31060175f28
parent448ff45f3c1707a16c1ff9cb55ebc4a2f9684706
Use sizeof(PageHeaderData) in place of pageHeaderSize

With -Werror=vla, gcc complains about the localCache declaration.
Instead of the pageHeaderSize variable, use sizeof(PageHeaderData)
directly like elsewhere in this file.

pg_filedump.c:648:2: error: ISO C90 forbids array ‘localCache’ whose
size can’t be evaluated [-Werror=vla]
pg_filedump.c