Skip to content

Commit fef8d00

Browse files
committed
init i, don't require c99 mode
1 parent 891467e commit fef8d00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ngx_http_auth_jwt_binary_converters.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ int hex_to_binary( const char* str, u_char* buf, int len )
3939
return -1;
4040
}
4141

42-
for (int i = 0; i < len; i += 2) {
42+
int i;
43+
for (i = 0; i < len; i += 2) {
4344
hex_char_to_binary( *(str + i), &high );
4445
hex_char_to_binary( *(str + i + 1 ), &low );
4546

0 commit comments

Comments
 (0)