mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix -Wc++11-narrowing
error with Clang introduced in 2546d9e
PiperOrigin-RevId: 421784429 Change-Id: Ia5d09a980db39bc8d88373dc769cb5889417502d
This commit is contained in:
parent
2546d9e85b
commit
9229b3fa82
|
@ -34,7 +34,7 @@ TEST(RegsTest, SkipSyscallWorks) {
|
||||||
ALLOW,
|
ALLOW,
|
||||||
};
|
};
|
||||||
sock_fprog prog = {
|
sock_fprog prog = {
|
||||||
.len = policy.size(),
|
.len = static_cast<uint8_t>(policy.size()),
|
||||||
.filter = policy.data(),
|
.filter = policy.data(),
|
||||||
};
|
};
|
||||||
// Create socketpair for synchronization
|
// Create socketpair for synchronization
|
||||||
|
|
Loading…
Reference in New Issue
Block a user