Mesa (master): microsoft/compile: Fix incorrect enum type in function signature
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jan 3 23:24:44 UTC 2021
Module: Mesa
Branch: master
Commit: f0eda8fbf857c6739263cb30428ea54730a87f9a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0eda8fbf857c6739263cb30428ea54730a87f9a
Author: Jesse Natalie <jenatali at microsoft.com>
Date: Mon Dec 28 10:55:29 2020 -0800
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 at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8248>
---
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));
More information about the mesa-commit
mailing list