sh: Remove two redundant (uintmax_t) casts.

Submitted by:	jmallett
This commit is contained in:
Jilles Tjoelker 2014-08-20 20:15:43 +00:00
parent 2bcc37f99c
commit dd6d480a3e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270246

View file

@ -139,10 +139,9 @@ static arith_t do_binop(int op, arith_t a, arith_t b)
case ARITH_SUB:
return (uintmax_t)a - (uintmax_t)b;
case ARITH_LSHIFT:
return (uintmax_t)a <<
((uintmax_t)b & (sizeof(uintmax_t) * CHAR_BIT - 1));
return (uintmax_t)a << (b & (sizeof(uintmax_t) * CHAR_BIT - 1));
case ARITH_RSHIFT:
return a >> ((uintmax_t)b & (sizeof(uintmax_t) * CHAR_BIT - 1));
return a >> (b & (sizeof(uintmax_t) * CHAR_BIT - 1));
case ARITH_LT:
return a < b;
case ARITH_LE: