Buying shares after record date

What if i buy shares after record date(for bonus),on ex-bonus date price will be adjusted to accordinly…but i wont get bonus as i bought after record date…but will i loose my share value because of the price adjustment on ex-bonus date…