In bam sort and merge change:
* pointer == 0 to == NULL
* pointer = 0 to = NULL