Fix for NULL arithmetic compiler warning in Linux.