diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-11-27 03:25:15 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-11-27 03:25:15 +0000 |
commit | d88548f497e52ad7633db1f3243daef0ba9fe54b (patch) | |
tree | b83e69a6702e80259914885d9770a470f658af37 /string/argz-delete.c | |
parent | be97091638d156a53009b4034c60b58eaf3efa24 (diff) | |
download | glibc-d88548f497e52ad7633db1f3243daef0ba9fe54b.tar.gz glibc-d88548f497e52ad7633db1f3243daef0ba9fe54b.tar.xz glibc-d88548f497e52ad7633db1f3243daef0ba9fe54b.zip |
Fix stdio-common/tst-fmemopen.c format warnings.
Testing for 32-bit x86 shows up warnings in stdio-common/tst-fmemopen.c where off_t values are passed to %zu printf formats. Since the values are in messages relating to function calls where the relevant argument is of type size_t, it seems most appropriate to cast explicitly to size_t when passing to printf, which this patch does. Tested for 32-bit x86. * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to size_t for %zu format.
Diffstat (limited to 'string/argz-delete.c')
0 files changed, 0 insertions, 0 deletions