mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix a Fuchsia formatter type mismatch flagged by the pending Clang roll (flutter/engine#43651)
This commit is contained in:
parent
036fbf256d
commit
4f384979af
@ -69,7 +69,8 @@ bool VmoFromFilename(const std::string& filename,
|
||||
fdio_open_fd(filename.c_str(), static_cast<uint32_t>(flags), &fd);
|
||||
if (status != ZX_OK) {
|
||||
FX_LOGF(ERROR, LOG_TAG, "fdio_open_fd(\"%s\", %08x) failed: %s",
|
||||
filename.c_str(), flags, zx_status_get_string(status));
|
||||
filename.c_str(), static_cast<uint32_t>(flags),
|
||||
zx_status_get_string(status));
|
||||
return false;
|
||||
}
|
||||
bool result = VmoFromFd(fd, executable, buffer);
|
||||
@ -91,7 +92,8 @@ bool VmoFromFilenameAt(int dirfd,
|
||||
static_cast<uint32_t>(flags), &fd);
|
||||
if (status != ZX_OK) {
|
||||
FX_LOGF(ERROR, LOG_TAG, "fdio_open_fd_at(%d, \"%s\", %08x) failed: %s",
|
||||
dirfd, filename.c_str(), flags, zx_status_get_string(status));
|
||||
dirfd, filename.c_str(), static_cast<uint32_t>(flags),
|
||||
zx_status_get_string(status));
|
||||
return false;
|
||||
}
|
||||
bool result = VmoFromFd(fd, executable, buffer);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user