summaryrefslogtreecommitdiff
path: root/sci-libs/caffe2/files/caffe2-2.2.2-musl.patch
blob: f63e9f1df332e90f91b5e596e551e4709de77ca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/torch/csrc/profiler/unwind/unwind.cpp	2024-04-29 12:05:40.895667482 +0200
+++ b/torch/csrc/profiler/unwind/unwind.cpp	2024-04-29 12:05:53.099524760 +0200
@@ -112,8 +112,8 @@
 }
 
 struct Version {
-  uint64_t adds_ = LONG_LONG_MAX;
-  uint64_t subs_ = LONG_LONG_MAX;
+  uint64_t adds_ = LLONG_MAX;
+  uint64_t subs_ = LLONG_MAX;
 };
 
 struct UnwindCache {