Some fixes for PriorityQueue.c file.