diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-07-03 06:15:49 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-07-03 06:15:49 +0000 |
commit | 67e76855433726fc24a08d6c0401222d5485b624 (patch) | |
tree | e16ce71d0b740a33c8623d79d552e76707cb35d4 /usr.sbin/bgpctl/bgpctl.c | |
parent | 15072cebb60cbc96908ba0402ab267f686a9570a (diff) |
Remove unneccessary type cast
Diffstat (limited to 'usr.sbin/bgpctl/bgpctl.c')
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index f8837c7a188..8242c0d95d2 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.241 2019/06/25 07:44:20 claudio Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.242 2019/07/03 06:15:48 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -1446,7 +1446,7 @@ show_attr(void *b, u_int16_t len, int flag0) data += 4; len -= 4; } else { - alen = (u_char)data[2]; + alen = data[2]; data += 3; len -= 3; } |