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 <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8248>
This commit is contained in:
Jesse Natalie 2020-12-28 10:55:29 -08:00 committed by Marge Bot
parent e3ca385f3d
commit f0eda8fbf8

View file

@ -2115,7 +2115,7 @@ emit_module_consts(struct dxil_module *m)
static bool
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)
{
assert(abbrev < ARRAY_SIZE(value_symtab_abbrevs));