]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/duration.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / duration.cc
index 0c6fa4dd5f55c89b5fe628276c04b47acc3f7cc4..880b22c46a3575d1fc37bf78943d45992ca1ba8b 100644 (file)
@@ -152,8 +152,8 @@ Duration::print_smob (SCM port, scm_print_state *) const
 SCM
 Duration::equal_p (SCM a, SCM b)
 {
-  Duration *p = (Duration *) SCM_CELL_WORD_1 (a);
-  Duration *q = (Duration *) SCM_CELL_WORD_1 (b);
+  Duration *p = unsmob<Duration> (a);
+  Duration *q = unsmob<Duration> (b);
 
   bool eq = p->dots_ == q->dots_
             && p->durlog_ == q->durlog_