+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ void RecordAllocateSlow(ThreadSafeArenaStats* info, size_t used,
110
110
if (info->max_block_size.load(std::memory_order_relaxed) < allocated) {
111
111
info->max_block_size.store(allocated, std::memory_order_relaxed);
112
112
}
113
-
const uint64_t tid = 1ULL << (GetCachedTID() % 63);
113
+
const uint64_t tid = 1ULL << (static_cast<uint64_t>(GetCachedTID()) % 63);
114
114
info->thread_ids.fetch_or(tid, std::memory_order_relaxed);
115
115
}
116
116
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4