Use Size instead of uint32 to store result of sizeof()

Silences coverity and is more consistent with other functions in the
same file.

Andres Freund
This commit is contained in:
Heikki Linnakangas 2014-05-05 16:17:16 +03:00
parent 1460b199e6
commit c834576839
1 changed files with 1 additions and 1 deletions

View File

@ -1431,7 +1431,7 @@ SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn)
char path[MAXPGPATH];
int ret;
struct stat stat_buf;
uint32 sz;
Size sz;
Assert(lsn != InvalidXLogRecPtr);
Assert(builder->last_serialized_snapshot == InvalidXLogRecPtr ||