Content-Length: 256161 | pFad | http://github.com/postgrespro/postgres/commit/129759d6a539059cde85d0dad19992ff45da3bb4

EC Fix cpluspluscheck in checksum code · postgrespro/postgres@129759d · GitHub
Skip to content

Commit 129759d

Browse files
committed
Fix cpluspluscheck in checksum code
C++ is more picky about comparing signed and unsigned integers.
1 parent 14a8503 commit 129759d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/storage/checksum_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ pg_checksum_block(char *data, uint32 size)
141141
uint32 sums[N_SUMS];
142142
uint32 (*dataArr)[N_SUMS] = (uint32 (*)[N_SUMS]) data;
143143
uint32 result = 0;
144-
int i,
144+
uint32 i,
145145
j;
146146

147147
/* ensure that the size is compatible with the algorithm */

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/129759d6a539059cde85d0dad19992ff45da3bb4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy