mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
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:
@ -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 ||
|
||||
|
Reference in New Issue
Block a user