From dcd7b1db450eccf477f8ecc51b11dbab424e07f9 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Wed, 13 May 2026 21:51:14 +0200 Subject: [PATCH] makefsdata: fix ISO C90 error in last commits Signed-off-by: Simon Goldschmidt --- src/apps/http/makefsdata/makefsdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/http/makefsdata/makefsdata.c b/src/apps/http/makefsdata/makefsdata.c index c29c4730..a81952f5 100644 --- a/src/apps/http/makefsdata/makefsdata.c +++ b/src/apps/http/makefsdata/makefsdata.c @@ -1286,10 +1286,10 @@ int file_write_http_header(FILE *data_file, const char *filename, int file_size, int file_put_ascii(FILE *file, const char *ascii_string, size_t len, int *i) { + size_t x; if (len > INT_MAX) { return -1; } - size_t x; for (x = 0; x < len; x++) { unsigned char cur = ascii_string[x]; fprintf(file, "0x%02x,", cur);