diff options
author | Peter Eisentraut | 2013-06-30 14:25:43 +0000 |
---|---|---|
committer | Peter Eisentraut | 2013-06-30 14:25:43 +0000 |
commit | 129759d6a539059cde85d0dad19992ff45da3bb4 (patch) | |
tree | b6f3076104e77ddcdb8283d055a97c4792979cbb | |
parent | 14a85031b16239708d4f208528709153779c590d (diff) |
Fix cpluspluscheck in checksum code
C++ is more picky about comparing signed and unsigned integers.
-rw-r--r-- | src/include/storage/checksum_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |