Skip to content

Commit

Permalink
Fixed data type casts for wasm64
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajandhyala committed Oct 19, 2024
1 parent b4611f7 commit 1ca6d6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions onnxruntime/core/graph/model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,9 @@ static Status SaveModel(Model& model, const T& file_path) {
window.open(url, '_blank');
}
}),
reinterpret_cast<int32_t>(buffer),
static_cast<int32_t>(buffer_size),
reinterpret_cast<int32_t>(file_path.c_str()));
buffer,
buffer_size,
file_path.c_str());

free(buffer);
return Status::OK();
Expand Down

0 comments on commit 1ca6d6a

Please sign in to comment.