summaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-07-25 06:37:56 +0000
committerJakub Jelinek <jakub@redhat.com>2005-07-25 06:37:56 +0000
commit14c3168379a44102adc58f0a6e88fbb269fe0ec8 (patch)
treec5a6e7c6a272066cc25763c0006a53ad6a914a4c /stdio-common
parentdcb585f3e5b09ebd7ae92c0c8ed602c3f3e44b61 (diff)
Updated to fedora-glibc-20050725T0627
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/fxprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/fxprintf.c b/stdio-common/fxprintf.c
index 3b3cc5cdda..6fecb31fb7 100644
--- a/stdio-common/fxprintf.c
+++ b/stdio-common/fxprintf.c
@@ -37,9 +37,9 @@ __fxprintf (FILE *fp, const char *fmt, ...)
int res;
if (_IO_fwide (fp, 0) > 0)
{
- size_t len = strlen (fmt) + 1, i;
+ size_t len = strlen (fmt) + 1;
wchar_t wfmt[len];
- for (i = 0; i < len; ++i)
+ for (size_t i = 0; i < len; ++i)
{
assert (isascii (fmt[i]));
wfmt[i] = fmt[i];