File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
extension/BuildPhpExtension/patches Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1+ $path = ' src/deps/couchbase-cxx-client/core/websocket_codec.cxx'
2+ (Get-Content $path ) `
3+ -replace ' static_cast<std::byte>\(\(length >> 56\) & 0xff\)' , ' static_cast<std::byte>((static_cast<std::uint64_t>(length) >> 56) & 0xff)' `
4+ -replace ' static_cast<std::byte>\(\(length >> 48\) & 0xff\)' , ' static_cast<std::byte>((static_cast<std::uint64_t>(length) >> 48) & 0xff)' `
5+ -replace ' static_cast<std::byte>\(\(length >> 40\) & 0xff\)' , ' static_cast<std::byte>((static_cast<std::uint64_t>(length) >> 40) & 0xff)' `
6+ -replace ' static_cast<std::byte>\(\(length >> 32\) & 0xff\)' , ' static_cast<std::byte>((static_cast<std::uint64_t>(length) >> 32) & 0xff)' `
7+ -replace ' static_cast<std::byte>\(\(length >> 24\) & 0xff\)' , ' static_cast<std::byte>((static_cast<std::uint64_t>(length) >> 24) & 0xff)' `
8+ -replace ' static_cast<std::byte>\(\(length >> 16\) & 0xff\)' , ' static_cast<std::byte>((static_cast<std::uint64_t>(length) >> 16) & 0xff)' `
9+ -replace ' static_cast<std::byte>\(\(length >> 8\) & 0xff\)' , ' static_cast<std::byte>((static_cast<std::uint64_t>(length) >> 8) & 0xff)' `
10+ -replace ' static_cast<std::byte>\(length & 0xff\)' , ' static_cast<std::byte>(static_cast<std::uint64_t>(length) & 0xff)' |
11+ Set-Content $path
You can’t perform that action at this time.
0 commit comments