All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ʻalayhi wa sallam, is His slave and Messenger.
Such insignificant amounts of money are commonly pardoned by people, so there is no harm if you took an extra insignificant amount from the cashier, and you are not obliged to return that extra (insignificant) sum of money that he has given you. This does not fall into the category of the forbidden Tatfeef (giving less in measure or weight to the person you are selling to or taking more if you are the one who is buying).
Therefore, you should take it easy upon yourself, as this is a simple matter.
Allah knows best.