summaryrefslogtreecommitdiff
path: root/lib/PLList.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PLList.cc')
-rw-r--r--lib/PLList.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PLList.cc b/lib/PLList.cc
index 77bf2e7..b74d7d3 100644
--- a/lib/PLList.cc
+++ b/lib/PLList.cc
@@ -22,7 +22,7 @@
PriorityList *PLList::Union(PriorityList * P)
{
- if ((P->GetType()) != (((PriorityList *) this)->GetType())) {
+ if ((P->GetType()) != GetType()) {
return GenericUnion(P);
} else {
CList *x, *y, *t;