This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi, on 31bit s390 i get the following warning/error: tst-widetext.c: In function âdo_testâ:tst-widetext.c:295:5: error: format â%Zdâ expects argument of type âsigned size_tâ, but argument 3 has type âintâ [-Werror=format=]
__LINE__, wcp - wc2buf, wcsize);
^
This patch adds a cast to ssize_t in order to disable the warning.
Ok to commit?
Bye
Stefan
---
2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
* libio/tst-widetext.c (do_test):
Cast argument to ssize_t to disable format warning.
Attachment:
tst-widetext_12112014
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |