[mono] Fix InlineArrayAttribute access on big-endian platforms (#88417)
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 5 Jul 2023 18:18:25 +0000 (20:18 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Jul 2023 18:18:25 +0000 (14:18 -0400)
commit3c10274034fa4eb903ceef345fd9fd9b8ba506c1
tree8577f0ec0143870412c316fa34a3210116f8b042
parentf11edcdc155c810f0f114f8b2ccb02d8e96ab82c
[mono] Fix InlineArrayAttribute access on big-endian platforms (#88417)

Use "guint32" instead of "gpointer" to access the length field in
InlineArrayAttribute; fixes serious regression after PR #88419.
src/mono/mono/metadata/class-init.c