Skip to content

Commit 4997b5c

Browse files
authored
1 parent 31c154a commit 4997b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/diff/diff.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ std::unique_ptr<spvtools::opt::IRContext> load_module(const char* path) {
8787
return spvtools::BuildModule(
8888
kDefaultEnvironment, spvtools::utils::CLIMessageConsumer,
8989
std::string(contents.begin(), contents.end()),
90-
spvtools::SpirvTools::kDefaultAssembleOption |
90+
static_cast<spv_text_to_binary_options_t>(spvtools::SpirvTools::kDefaultAssembleOption) |
9191
SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS);
9292
}
9393

0 commit comments

Comments
 (0)