File: printf.patch

package info (click to toggle)
charliecloud 0.43-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,116 kB
  • sloc: python: 6,021; sh: 4,284; ansic: 3,863; makefile: 598
file content (12 lines) | stat: -rw-r--r-- 474 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur charliecloud/bin/ch_misc.c charliecloud-patch/bin/ch_misc.c
--- charliecloud/bin/ch_misc.c	2022-01-24 13:12:23.980046774 -0500
+++ charliecloud-patch/bin/ch_misc.c	2022-01-24 13:25:34.854133321 -0500
@@ -252,7 +252,7 @@
    if (path == NULL) {
       T_ (where = strdup(line));
    } else {
-      T_ (1 <= asprintf(&where, "%s:%lu", path, lineno));
+      T_ (1 <= asprintf(&where, "%s:%zu", path, lineno));
    }
 
    // Split line into variable name and value.