]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.18
authorfred <fred>
Thu, 19 Dec 1996 01:05:44 +0000 (01:05 +0000)
committerfred <fred>
Thu, 19 Dec 1996 01:05:44 +0000 (01:05 +0000)
src/pcol.cc

index 2fab154829017478e75252ca6ec77aa70b43d979..951be6fa5f612e38f109962f1f066674bf015b03 100644 (file)
@@ -19,7 +19,7 @@ PCol::rank() const
 {
     if(!pscore_)
        return -1;
-    PCursor<PCol*> me=pscore_->find_col(this);
+    PCursor<PCol*> me=pscore_->find_col( (PCol*)this);
     if (!me.ok())
        return -1;
     PCursor<PCol*> bot(pscore_->cols.top());
@@ -51,7 +51,7 @@ PCol::print() const
 int
 PCol::compare(const PCol &c1, const PCol &c2)
 {
-    return c1.pscore_->compare_pcols(&c1,&c2);
+    return c1.pscore_->compare_pcols((PCol*)&c1,(PCol*)&c2);
 }
 
 void