]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parser.yy
*** empty log message ***
[lilypond.git] / lily / parser.yy
index 9439c6f3bc8dd664078175817f1f746e353f4747..f42cd76f05c371e13a3ab22491c2cfc1f62734bc 100644 (file)
@@ -1740,7 +1740,7 @@ command_req:
                {               
                        key->set_property ("pitch-alist", $3);
                        key->set_property ("tonic", Pitch (0,0,0).smobbed_copy ());
-                       ((Music*)key)->transpose (* unsmob_pitch ($2));
+                       key->transpose (* unsmob_pitch ($2));
                } else {
                        THIS->parser_error (_ ("Second argument must be pitch list."));
                }