From f0eda8fbf857c6739263cb30428ea54730a87f9a Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Mon, 28 Dec 2020 10:55:29 -0800 Subject: [PATCH] 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 Part-of: --- src/microsoft/compiler/dxil_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsoft/compiler/dxil_module.c b/src/microsoft/compiler/dxil_module.c index 53f821383bc..17e4a55db39 100644 --- a/src/microsoft/compiler/dxil_module.c +++ b/src/microsoft/compiler/dxil_module.c @@ -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));