Fix cpluspluscheck in checksum code

C++ is more picky about comparing signed and unsigned integers.
pull/6/head
Peter Eisentraut 13 years ago
parent 14a85031b1
commit 129759d6a5
  1. 2
      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 */

Loading…
Cancel
Save