Skip to content

Commit

Permalink
Allow Flutter shell to be built for a Linux host. (flutter#3589)
Browse files Browse the repository at this point in the history
  • Loading branch information
pylaligand authored Apr 13, 2017
1 parent 5d4f274 commit 5ecaec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fml/platform/linux/paths_linux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ std::pair<bool, std::string> GetExecutableDirectoryPath() {
if (read_size == -1) {
return {false, ""};
}
return {true, files::GetDirectoryName(std::string{path, read_size})};
return {true, files::GetDirectoryName(std::string{path, static_cast<size_t>(read_size)})};
}

} // namespace paths
Expand Down
2 changes: 1 addition & 1 deletion glue/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source_set("glue") {
"//lib/ftl",
]

if (is_fuchsia || is_fuchsia_host) {
if (is_fuchsia) {
sources += [ "stack_trace_fuchsia.cc" ]

public_deps = [
Expand Down

0 comments on commit 5ecaec5

Please sign in to comment.