diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-05-05 16:17:16 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-05-05 16:17:16 +0300 |
commit | c83457683968e2263d7e6bcdcdd52d472f9b0f8d (patch) | |
tree | 5332c3d2347a6f90677a4cd7a7cfb36070d16c2b /src | |
parent | 1460b199e6e748712253fa130d1c3368ba6ac861 (diff) | |
download | postgresql-c83457683968e2263d7e6bcdcdd52d472f9b0f8d.tar.gz postgresql-c83457683968e2263d7e6bcdcdd52d472f9b0f8d.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/replication/logical/snapbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c index c462e9059d6..36034dbec9d 100644 --- a/src/backend/replication/logical/snapbuild.c +++ b/src/backend/replication/logical/snapbuild.c @@ -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 || |