aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-02-25 18:10:35 -0600
committerRob Landley <rob@landley.net>2016-02-25 18:10:35 -0600
commitf9ca79a7b7762bdc698efb7c34ecaac63540eacb (patch)
treee1730bb91756fd57ef5ed0baa2b9f9bda1c5b786 /toys/lsb
parent8fffeffdf259bc1a7c2c8055a0bbc3f4c508ed76 (diff)
downloadtoybox-f9ca79a7b7762bdc698efb7c34ecaac63540eacb.tar.gz
Fix more warnings on 32 bit builds.
Diffstat (limited to 'toys/lsb')
-rw-r--r--toys/lsb/seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/lsb/seq.c b/toys/lsb/seq.c
index 4e401864..0e0f4608 100644
--- a/toys/lsb/seq.c
+++ b/toys/lsb/seq.c
@@ -38,7 +38,7 @@ static void insanitize(char *f)
if (!s) error_exit("bad -f no %%f");
if (-1 == stridx("aAeEfFgG", *s) || (s = next_printf(s, 0))) {
// The @ is a byte offset, not utf8 chars. Waiting for somebody to complain.
- error_exit("bad -f '%s'@%ld", f, s-f+1);
+ error_exit("bad -f '%s'@%d", f, (int)(s-f+1));
}
}