summaryrefslogtreecommitdiffstats
path: root/usr.bin/strip/strip.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/strip/strip.c')
-rw-r--r--usr.bin/strip/strip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/strip/strip.c b/usr.bin/strip/strip.c
index 03ba76c..3c41feb 100644
--- a/usr.bin/strip/strip.c
+++ b/usr.bin/strip/strip.c
@@ -180,7 +180,7 @@ s_stab(fn, fd, ep)
}
/* Check size. */
- if (sb.st_size > SIZE_T_MAX) {
+ if (sb.st_size > (unsigned)SIZE_T_MAX) {
warnx("%s: %s", fn, strerror(EFBIG));
err_val = 1;
return;
OpenPOWER on IntegriCloud