Don't worry. Someone who tells you that he never made a mistake like that is a bloody liar.
This is a good example of how important accurate information ( = posting the complete compiler message) can be.
EDIT:Of course the typo has been in the code you posted all the time, and nobody saw it. This once again proves that nobody reads posts with more than 10 lines :lol: