aboutsummaryrefslogtreecommitdiff
path: root/devel/stlink/files/patch-src_st-info_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/stlink/files/patch-src_st-info_info.c')
-rw-r--r--devel/stlink/files/patch-src_st-info_info.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/stlink/files/patch-src_st-info_info.c b/devel/stlink/files/patch-src_st-info_info.c
new file mode 100644
index 000000000000..6252c22a6ff9
--- /dev/null
+++ b/devel/stlink/files/patch-src_st-info_info.c
@@ -0,0 +1,11 @@
+--- src/st-info/info.c.orig 2025-04-02 12:38:55 UTC
++++ src/st-info/info.c
+@@ -55,7 +55,7 @@ static void stlink_probe(enum connect_type connect, in
+ stlink_t **stdevs;
+ uint32_t size;
+
+- size = stlink_probe_usb(&stdevs, connect, freq);
++ size = (uint32_t) stlink_probe_usb(&stdevs, connect, freq);
+
+ printf("Found %u stlink programmers\n", size);
+