infrared header problem

What version of IDE are you using and where did you get the code that is generating this error. Have you tried redefining it using "byte" ?