summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools/perf-fix-types.patch
blob: f00e70a7e773e54ef1560663db0bf9f61a5c8502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- linux-5.2.1.orig/tools/perf/util/session.c	2019-07-14 01:01:15.000000000 -0500
+++ linux-5.2.1/tools/perf/util/session.c	2019-08-13 18:15:10.427948151 -0500
@@ -76,7 +76,7 @@
 		session->decomp_last = decomp;
 	}
 
-	pr_debug("decomp (B): %ld to %ld\n", src_size, decomp_size);
+	pr_debug("decomp (B): %zd to %zd\n", src_size, decomp_size);
 
 	return 0;
 }
--- linux-5.2.1.orig/tools/perf/util/zstd.c	2019-07-14 01:01:15.000000000 -0500
+++ linux-5.2.1/tools/perf/util/zstd.c	2019-08-13 18:32:14.237937462 -0500
@@ -99,7 +99,7 @@
 	while (input.pos < input.size) {
 		ret = ZSTD_decompressStream(data->dstream, &output, &input);
 		if (ZSTD_isError(ret)) {
-			pr_err("failed to decompress (B): %ld -> %ld : %s\n",
+			pr_err("failed to decompress (B): %zd -> %zd : %s\n",
 			       src_size, output.size, ZSTD_getErrorName(ret));
 			break;
 		}