aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-misc.c')
-rw-r--r--elf/dl-misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index 364940b23f..2d42230afe 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -211,7 +211,7 @@ _dl_debug_vdprintf (int fd, int tag_p, const char *fmt, va_list arg)
iov[niov].iov_base = va_arg (arg, char *);
iov[niov].iov_len = strlen (iov[niov].iov_base);
if (prec != -1)
- iov[niov].iov_len = MIN (prec, iov[niov].iov_len );
+ iov[niov].iov_len = MIN ((size_t) prec, iov[niov].iov_len);
++niov;
break;