Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ba216d3

Browse files
committed
Fix loop variable signedness
1 parent ec2133a commit ba216d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/modules/worker_spi/worker_spi.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ void
282282
_PG_init(void)
283283
{
284284
BackgroundWorker worker;
285-
unsigned int i;
286285

287286
/* get the configuration */
288287
DefineCustomIntVariable("worker_spi.naptime",
@@ -336,7 +335,7 @@ _PG_init(void)
336335
/*
337336
* Now fill in worker-specific data, and do the actual registrations.
338337
*/
339-
for (i = 1; i <= worker_spi_total_workers; i++)
338+
for (int i = 1; i <= worker_spi_total_workers; i++)
340339
{
341340
snprintf(worker.bgw_name, BGW_MAXLEN, "worker_spi worker %d", i);
342341
snprintf(worker.bgw_type, BGW_MAXLEN, "worker_spi");

0 commit comments

Comments
 (0)