From 129759d6a539059cde85d0dad19992ff45da3bb4 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 30 Jun 2013 10:25:43 -0400 Subject: [PATCH] Fix cpluspluscheck in checksum code C++ is more picky about comparing signed and unsigned integers. --- src/include/storage/checksum_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/storage/checksum_impl.h b/src/include/storage/checksum_impl.h index ce1b124fa5..27a424d410 100644 --- a/src/include/storage/checksum_impl.h +++ b/src/include/storage/checksum_impl.h @@ -141,7 +141,7 @@ pg_checksum_block(char *data, uint32 size) uint32 sums[N_SUMS]; uint32 (*dataArr)[N_SUMS] = (uint32 (*)[N_SUMS]) data; uint32 result = 0; - int i, + uint32 i, j; /* ensure that the size is compatible with the algorithm */ -- 2.40.0