What happens if you don't cast it, i.e.:
Code:
setvect(vect, isr);