diff options
Diffstat (limited to 'drivers/atm/horizon.c')
-rw-r--r-- | drivers/atm/horizon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index dc39a1ce5..913b6f2ed 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c @@ -603,7 +603,8 @@ static int make_rate (const hrz_dev * dev, u32 c, rounding r, // note: rounding the rate down means rounding 'p' up - const unsigned long br = test_bit (ultra, &dev->flags) ? BR_ULT : BR_HRZ; + const unsigned long br = test_bit (ultra, (hrz_flags *) &dev->flags) ? + BR_ULT : BR_HRZ; u32 div = CR_MIND; u32 pre; |