NULL should be defined as pointer to a memory address like this:

#define NULL ((void*)0x00000000)


Your friendly mod is at your service.