Changed ld to i in printf