[PATCH 0/2] Fix array parameter size mismatch warnings

Alex Henrie alexhenrie24 at gmail.com
Mon Aug 2 23:13:36 CDT 2021


GCC 11 has a new warning (-Warray-parameter) that complains if an array
argument is defined differently than declared in the function prototype.
We can avoid that warning by consistently using the same definitions as
the Windows SDK.

-Alex

Alex Henrie (2):
  msdmo: Fix size of DMOGetName's array argument (GCC)
  include: Fix size of MsiEnumClientsEx[AW]'s array argument (GCC)

 dlls/msdmo/dmoreg.c | 2 +-
 include/msi.h       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.32.0




More information about the wine-devel mailing list