Compile error with Mega2560 selected

mellis:
Weird, I thought I fixed this a long time ago: Google Code Archive - Long-term storage for Google Code Project Hosting.

Mellis,
It worked fine on Arduino0022. I just recently switched to Arduino1.0 as I was finishing up some projects and did not want to change midstream. The problem started with working code (from 0022) that was moved to Arduino1.0. It would seem that the Arduino1.0 core files are not all as up to date with your fixes.