Fix MDRawCrashpadAnnotationList::objects type

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

Change-Id: I58b5b0e4f7f95bc003b103e2750e3759c3e31292
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4503630
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Ben Wagner 2023-05-03 16:25:52 -04:00 committed by Joshua Peraza
parent 6e319cac57
commit 837b0f5d52

View file

@ -1105,7 +1105,7 @@ typedef struct {
typedef struct {
uint32_t count;
MDLocationDescriptor objects[0]; /* MDRawCrashpadAnnotation */
MDRawCrashpadAnnotation objects[0];
} MDRawCrashpadAnnotationList;
typedef struct {