Maybe

Code:
return (NAME)1;
what happens when you dont return anything?