vkd3d-shader/dxbc: Pass an unsigned int count to shader_parse_root_parameters1().

This commit is contained in:
Henri Verbeet 2023-12-06 20:20:32 +01:00 committed by Alexandre Julliard
parent 04acc52496
commit 69350e1ff0
Notes: Alexandre Julliard 2024-01-11 23:15:29 +01:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/557

View File

@ -846,7 +846,7 @@ static int shader_parse_root_parameters(struct root_signature_parser_context *co
} }
static int shader_parse_root_parameters1(struct root_signature_parser_context *context, static int shader_parse_root_parameters1(struct root_signature_parser_context *context,
uint32_t offset, DWORD count, struct vkd3d_shader_root_parameter1 *parameters) uint32_t offset, unsigned int count, struct vkd3d_shader_root_parameter1 *parameters)
{ {
const char *ptr; const char *ptr;
unsigned int i; unsigned int i;