aboutsummaryrefslogtreecommitdiff
path: root/argp/argp-fmtstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'argp/argp-fmtstream.c')
-rw-r--r--argp/argp-fmtstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/argp/argp-fmtstream.c b/argp/argp-fmtstream.c
index c3d3787..6d461aa 100644
--- a/argp/argp-fmtstream.c
+++ b/argp/argp-fmtstream.c
@@ -415,10 +415,10 @@ __argp_fmtstream_printf (struct argp_fmtstream *fs, const char *fmt, ...)
avail = fs->end - fs->p;
out = __vsnprintf (fs->p, avail, fmt, args);
va_end (args);
- if (out >= avail)
+ if ((size_t) out >= avail)
size_guess = out + 1;
}
- while (out >= avail);
+ while ((size_t) out >= avail);
fs->p += out;