>>You must change it to a digital input. (from SkiMask)

He is correct - to do this add

Code:
ADCON1 = 6
before your TRIS commands and all should be well (see datasheet PORTA section for explanation)