null needs to be NULL, lite-c's now case sensitive grin

and make sure you've defined temp somewhere, that'll probably be your next issue