mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
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.siddhesh/posix-wundef
2 changed files with 5 additions and 2 deletions
Loading…
Reference in new issue