diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-02-15 13:51:48 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-02-15 13:51:48 -0500 |
commit | c1d0e639a95d6d3d3f1c1f70cf97d596bd5a24ec (patch) | |
tree | 89aae83ed132c200556941d9d481bd9bbc665ffb /stdio-common/printf-parsemb.c | |
parent | edf9294e7a2cd46b050faf2d270d28ff477f6c5e (diff) | |
download | glibc-c1d0e639a95d6d3d3f1c1f70cf97d596bd5a24ec.tar.gz |
Fix two printf handler issues.
Diffstat (limited to 'stdio-common/printf-parsemb.c')
-rw-r--r-- | stdio-common/printf-parsemb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdio-common/printf-parsemb.c b/stdio-common/printf-parsemb.c index efd1eca3a2..a67cc1a499 100644 --- a/stdio-common/printf-parsemb.c +++ b/stdio-common/printf-parsemb.c @@ -295,9 +295,9 @@ __parse_one_specmb (const UCHAR_T *format, size_t posn, /* We don't try to get the types for all arguments if the format uses more than one. The normal case is covered though. If the call returns -1 we continue with the normal specifiers. */ - || (spec->ndata_args = (*__printf_arginfo_table[spec->info.spec]) - (&spec->info, 1, &spec->data_arg_type, - &spec->size)) < 0) + || (int) (spec->ndata_args = (*__printf_arginfo_table[spec->info.spec]) + (&spec->info, 1, &spec->data_arg_type, + &spec->size)) < 0) { /* Find the data argument types of a built-in spec. */ spec->ndata_args = 1; |