mmc: fix integer assignments to pointer