[PATCH v5 0/8] malloc hooks removal
DJ Delorie
dj@redhat.com
Tue Jul 6 19:45:31 GMT 2021
32-bit builds broke...
In file included from mtrace.c:22,
from malloc-debug.c:84:
mtrace-impl.c: In function 'tr_where':
mtrace-impl.c:66:37: error: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'ptrdiff_t' {aka 'int'} [-Werror=format=]
66 | sprintf (buf, "(%s%c%lx)", info->dli_sname, sign, offset);
| ~~^ ~~~~~~
| | |
| long unsigned int ptrdiff_t {aka int}
| %x
cc1: all warnings being treated as errors
More information about the Libc-alpha
mailing list