Fix MDRawModuleCrashpadInfoList::modules type

MDRawModuleCrashpadInfoList::modules is a flexible array of
MDRawModuleCrashpadInfoLink and not MDLocationDescriptor. Breakpad does
not currently use the MDRawModuleCrashpadInfoList type, but its
definition should be updated to reflect the correct type to avoid
confusion.

Change-Id: If97f490db8d41529b59a225a275a37116746c2b7
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4504150
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Ben Wagner 2023-05-03 15:08:23 -04:00 committed by Joshua Peraza
parent 3ea3af42d3
commit 6e319cac57

View File

@ -1122,7 +1122,7 @@ typedef struct {
typedef struct {
uint32_t count;
MDLocationDescriptor modules[0]; /* MDRawModuleCrashpadInfoLink */
MDRawModuleCrashpadInfoLink modules[0];
} MDRawModuleCrashpadInfoList;
typedef struct {