Commit f0eda8fb authored by Jesse Natalie's avatar Jesse Natalie Committed by Marge Bot
Browse files

microsoft/compile: Fix incorrect enum type in function signature



Clang warns for passing one enum type where another was expected.
This was just a copy/paste bug, and had no real impact since the
enum was just used as an integer in this function.
Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Part-of: <mesa/mesa!8248>
parent e3ca385f
...@@ -2115,7 +2115,7 @@ emit_module_consts(struct dxil_module *m) ...@@ -2115,7 +2115,7 @@ emit_module_consts(struct dxil_module *m)
static bool static bool
emit_value_symtab_abbrev_record(struct dxil_module *m, emit_value_symtab_abbrev_record(struct dxil_module *m,
enum const_abbrev_id abbrev, enum value_symtab_abbrev_id abbrev,
const uint64_t *data, size_t size) const uint64_t *data, size_t size)
{ {
assert(abbrev < ARRAY_SIZE(value_symtab_abbrevs)); assert(abbrev < ARRAY_SIZE(value_symtab_abbrevs));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment