diff options
author | Guinevere Larsen <guinevere@redhat.com> | 2025-04-24 08:42:12 -0300 |
---|---|---|
committer | Guinevere Larsen <guinevere@redhat.com> | 2025-04-25 08:43:13 -0300 |
commit | a1537331abaf66fddd3553dd827381a01bcda46c (patch) | |
tree | d89df55bc6847b374ee63eff964844da49e83160 /binutils/rclex.c | |
parent | 4868f287d036a12b09541757a046ce4f8f6aac44 (diff) | |
download | binutils-master.zip binutils-master.tar.gz binutils-master.tar.bz2 |
The recent commit dbbb9cfd3708a5b09b449c6cbc4d74dfec13904d added a
message using %ld to print an std::vector::size, which is of size_t
type. on 64 bit machines, size_t will be an unsigned long int, making
%ld work just fine, but on 32 bit ones, size_t will be unsigned int,
which causes the build to fail.
This commit fixes that by using %zu instead.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32901
Tested-By: Luis Machado <luis.machado@arm.com>
Approved-By: Luis Machado <luis.machado@arm.com>
Diffstat (limited to 'binutils/rclex.c')
0 files changed, 0 insertions, 0 deletions