diff options
Diffstat (limited to 'drivers/atm/firestream.c')
-rw-r--r-- | drivers/atm/firestream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c index 697ad82f6634..9c67df5ccfa4 100644 --- a/drivers/atm/firestream.c +++ b/drivers/atm/firestream.c | |||
@@ -512,7 +512,7 @@ static unsigned int make_rate (unsigned int rate, int r, | |||
512 | } | 512 | } |
513 | case ROUND_UP: { | 513 | case ROUND_UP: { |
514 | /* check all bits that we are discarding */ | 514 | /* check all bits that we are discarding */ |
515 | if (man & (-1>>9)) { | 515 | if (man & (~0U>>9)) { |
516 | man = (man>>(32-9)) + 1; | 516 | man = (man>>(32-9)) + 1; |
517 | if (man == (1<<9)) { | 517 | if (man == (1<<9)) { |
518 | /* no need to check for round up outside of range */ | 518 | /* no need to check for round up outside of range */ |