diff options
| author | Florian Weimer <fweimer@redhat.com> | 2020-05-14 12:12:29 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2020-05-14 18:51:49 +0200 |
| commit | a4a351924575879fd96bf470f6340157ed560186 (patch) | |
| tree | ae84c6f1223e59d5e262854bff50ede62446dde7 /malloc/reallocarray.c | |
| parent | 98b2dc7e208772e7088c63e3031f75c2b92548b4 (diff) | |
| download | glibc-a4a351924575879fd96bf470f6340157ed560186.tar.xz glibc-a4a351924575879fd96bf470f6340157ed560186.zip | |
string: Fix string/tst-memmove-overflow to compile with GCC 7
GCC 8 relaxed what kind of expressions can be used in initializers,
and the previous use of static const variables relied on that. Switch
to wide (non-int) enum constants instead, which is another GCC
extension that is more widely implemented.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'malloc/reallocarray.c')
0 files changed, 0 insertions, 0 deletions
