Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitba216d3

Browse files
committed
Fix loop variable signedness
1 parentec2133a commitba216d3

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
BackgroundWorkerworker;
285-
unsignedinti;
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 (inti=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)

[8]ページ先頭

©2009-2025 Movatter.jp