Change NULL to 0 to allow compiling on debian.
Fix a warning of unused parameter of splitIntoParts