diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2016-01-20 08:32:37 +0100 |
---|---|---|
committer | Stefan Liebler <stli@linux.vnet.ibm.com> | 2016-01-20 08:32:37 +0100 |
commit | ab9f6255ab4e7aa353ec1b61b4f332bf00cea4d0 (patch) | |
tree | 732e4478d918cd928274bc3f2f61c94a120b2d31 /iconvdata/TESTS2 | |
parent | 2e3d0de31f2020fbf358b932db18b8c44e2c92d0 (diff) | |
download | glibc-ab9f6255ab4e7aa353ec1b61b4f332bf00cea4d0.tar.gz glibc-ab9f6255ab4e7aa353ec1b61b4f332bf00cea4d0.tar.xz glibc-ab9f6255ab4e7aa353ec1b61b4f332bf00cea4d0.zip |
S390: Fix build error in iconvdata/bug-iconv11.c.
This fixes the following build error on S390 31bit while building the test iconvdata/bug-iconv11.c with gcc 5.3: bug-iconv11.c: In function ‘test_ibm93x’: bug-iconv11.c:59:11: error: format ‘%td’ expects argument of type ‘ptrdiff_t’, but argument 2 has type ‘size_t {aka long unsigned int}’ [-Werror=format=] printf (" ==> %td: %s\n" ^ cc1: all warnings being treated as errors This patch uses %zu format specifier for argument size_t ret instead of %td. ChangeLog: * iconvdata/bug-iconv11.c (test_ibm93x): Use %zu printf format specifier for size_t argument.
Diffstat (limited to 'iconvdata/TESTS2')
0 files changed, 0 insertions, 0 deletions