maximum delay() is 32767ms ?

Casting should work as does appending L to the integer literals (e.g. 60L). But, of course, that only helps if you know you need to do it. I'm not sure of the best way to help people that don't know they need to do that.