If you are worried about a .22 and ricocheting off the pavement, buy hollow point ammunition. HPs will expand, and penetrate less which will decrease the likelihood of ricocheting.
Of course if you live in a neighborhood, or have neighbors close a .22 is not a good choice.