[D3DCOMPILER_43] Sync with Wine Staging 3.17. CORE-15127

This commit is contained in:
Amine Khaldi 2018-10-01 00:19:01 +01:00
parent d02c72252c
commit c003509323
3 changed files with 6 additions and 6 deletions

View file

@ -570,7 +570,7 @@ static const struct target_info targets_info[] = {
static const struct target_info * get_target_info(const char *target)
{
LONG min = 0;
LONG max = sizeof(targets_info) / sizeof(targets_info[0]) - 1;
LONG max = ARRAY_SIZE(targets_info) - 1;
LONG cur;
int res;