diff --git a/shell/platform/fuchsia/runtime/dart/utils/vmo.cc b/shell/platform/fuchsia/runtime/dart/utils/vmo.cc index ecc29e22db1dd..043b46f1ee6ab 100644 --- a/shell/platform/fuchsia/runtime/dart/utils/vmo.cc +++ b/shell/platform/fuchsia/runtime/dart/utils/vmo.cc @@ -69,7 +69,8 @@ bool VmoFromFilename(const std::string& filename, fdio_open_fd(filename.c_str(), static_cast(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(flags), + zx_status_get_string(status)); return false; } bool result = VmoFromFd(fd, executable, buffer); @@ -91,7 +92,8 @@ bool VmoFromFilenameAt(int dirfd, static_cast(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(flags), + zx_status_get_string(status)); return false; } bool result = VmoFromFd(fd, executable, buffer);