Commit 129759d6 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix cpluspluscheck in checksum code

C++ is more picky about comparing signed and unsigned integers.
parent 14a85031
...@@ -141,7 +141,7 @@ pg_checksum_block(char *data, uint32 size) ...@@ -141,7 +141,7 @@ pg_checksum_block(char *data, uint32 size)
uint32 sums[N_SUMS]; uint32 sums[N_SUMS];
uint32 (*dataArr)[N_SUMS] = (uint32 (*)[N_SUMS]) data; uint32 (*dataArr)[N_SUMS] = (uint32 (*)[N_SUMS]) data;
uint32 result = 0; uint32 result = 0;
int i, uint32 i,
j; j;
/* ensure that the size is compatible with the algorithm */ /* ensure that the size is compatible with the algorithm */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment