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

Lines changed: 1 addition & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy