diff options
author | Peter Eisentraut | 2021-10-06 05:22:47 +0000 |
---|---|---|
committer | Peter Eisentraut | 2021-10-06 05:22:47 +0000 |
commit | ba216d3b54ac334729c505ec8a725db3826290a2 (patch) | |
tree | 62dc9f24db9634a6ef2757a2f75c57f3eb8e2b7d | |
parent | ec2133a447318ac6d78887e91940d69e6d92a435 (diff) |
Fix loop variable signedness
-rw-r--r-- | src/test/modules/worker_spi/worker_spi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/modules/worker_spi/worker_spi.c b/src/test/modules/worker_spi/worker_spi.c index d0acef26528..0b6246676b6 100644 --- a/src/test/modules/worker_spi/worker_spi.c +++ b/src/test/modules/worker_spi/worker_spi.c @@ -282,7 +282,6 @@ void _PG_init(void) { BackgroundWorker worker; - unsigned int i; /* get the configuration */ DefineCustomIntVariable("worker_spi.naptime", @@ -336,7 +335,7 @@ _PG_init(void) /* * Now fill in worker-specific data, and do the actual registrations. */ - for (i = 1; i <= worker_spi_total_workers; i++) + for (int i = 1; i <= worker_spi_total_workers; i++) { snprintf(worker.bgw_name, BGW_MAXLEN, "worker_spi worker %d", i); snprintf(worker.bgw_type, BGW_MAXLEN, "worker_spi"); |