From a709fcdc55f5dcbcf76a75bd8e1a0afbf0552efd Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 17 Dec 2011 02:23:30 +0000 Subject: In usr.bin/mt/mt.c, the c_code member of struct commands should really be an unsigned long, since it will contain values of ioctl request codes. On 64-bit arches, these will not fit into an int. MFC after: 1 week --- usr.bin/mt/mt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c index 766ca2f..3fbbdf3 100644 --- a/usr.bin/mt/mt.c +++ b/usr.bin/mt/mt.c @@ -75,7 +75,7 @@ __FBSDID("$FreeBSD$"); static const struct commands { const char *c_name; - int c_code; + unsigned long c_code; int c_ronly; int c_flags; } com[] = { -- cgit v1.1