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)
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