Content-Length: 257882 | pFad | http://github.com/postgrespro/postgres/commit/c83457683968e2263d7e6bcdcdd52d472f9b0f8d

1B Use Size instead of uint32 to store result of sizeof() · postgrespro/postgres@c834576 · GitHub
Skip to content

Commit c834576

Browse files
committed
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
1 parent 1460b19 commit c834576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/logical/snapbuild.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn)
14311431
char path[MAXPGPATH];
14321432
int ret;
14331433
struct stat stat_buf;
1434-
uint32 sz;
1434+
Size sz;
14351435

14361436
Assert(lsn != InvalidXLogRecPtr);
14371437
Assert(builder->last_serialized_snapshot == InvalidXLogRecPtr ||

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c83457683968e2263d7e6bcdcdd52d472f9b0f8d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy