Change parameter of set_display from structure to int pointer