Change size_t value from NULL to 0 to suppress compiler warning.
Merge pull request #1076 from Nuzzel/bugfix/fix_type_warning

Change size_t value from NULL to 0 to suppress compiler warning.