8000 [PBCKP-236] hotfix for C89 · postgrespro/pg_probackup@0b474d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b474d2

Browse files
author
Ivan Lazarev
committed
[PBCKP-236] hotfix for C89
1 parent 1a48b6c commit 0b474d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/remote.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ size_t prepare_compatibility_str(char* compatibility_buf, size_t compatibility_b
321321
size_t result_size = 0;
322322
*compatibility_buf = '\0';
323323

324-
for (int i = 0; i < (sizeof compatibility_params / sizeof(compatibility_param)); i++)
324+
int i;
325+
for (i = 0; i < (sizeof compatibility_params / sizeof(compatibility_param)); i++)
325326
{
326327
if (compatibility_params[i].strval != NULL)
327328
result_size += snprintf(compatibility_buf + result_size, compatibility_buf_size - result_size,

0 commit comments

Comments
 (0)
0