]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/parse-scm.cc
Fix almost all warnings in flower/ and many in lily/.
[lilypond.git] / lily / parse-scm.cc
index 1b0f16703378144e4a0922056ceff4411655bc18..81c4ad3a29e00afa28ff840e359c120f801ecc6b 100644 (file)
@@ -39,7 +39,7 @@ internal_ly_parse_scm (Parse_start *ps)
   Source_file *sf = ps->start_location_.get_source_file ();
   SCM port = sf->get_port ();
 
-  int off = ps->start_location_.start () - sf->c_str ();
+  long off = ps->start_location_.start () - sf->c_str ();
 
   scm_seek (port, scm_from_long (off), scm_from_long (SEEK_SET));
   SCM from = scm_ftell (port);