diff options
Diffstat (limited to 'devel/stlink/files/patch-src_stlink-lib_common.c')
-rw-r--r-- | devel/stlink/files/patch-src_stlink-lib_common.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/stlink/files/patch-src_stlink-lib_common.c b/devel/stlink/files/patch-src_stlink-lib_common.c new file mode 100644 index 000000000000..ffff610cfde6 --- /dev/null +++ b/devel/stlink/files/patch-src_stlink-lib_common.c @@ -0,0 +1,11 @@ +--- src/stlink-lib/common.c.orig 2025-04-02 12:21:51 UTC ++++ src/stlink-lib/common.c +@@ -913,7 +913,7 @@ int32_t stlink_parse_ihex(const char *path, uint8_t er + break; + } + +- uint32_t l = strlen(line); ++ size_t l = strlen(line); + + while (l > 0 && (line[l - 1] == '\n' || line[l - 1] == '\r')) { + --l; |