X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fswindow.C;h=a4315b50febf1e877dfb3bab7bf5fb46c257315b;hb=f30a92d2f983d5ec09c8fd8db48c9bcb7ec76763;hp=97b9144d716c462e5a60cafce00339fc7aa002a9;hpb=cdeb29aeaca2be9141f4c1d82f3aa36fcb51ab12;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/swindow.C b/cinelerra-5.1/cinelerra/swindow.C index 97b9144d..a4315b50 100644 --- a/cinelerra-5.1/cinelerra/swindow.C +++ b/cinelerra-5.1/cinelerra/swindow.C @@ -817,11 +817,11 @@ void SWindowGUI::load_script(FILE *fp) char value[64]; sprintf(value,"%ld",ftell(fp)); script_filesz->update(value); - sprintf(value,"%ld",script_line_no); + sprintf(value,"%jd",script_line_no); script_lines->update(value); sprintf(value,"%d",script.size()); script_entries->update(value); - sprintf(value,"%ld",script_text_lines); + sprintf(value,"%jd",script_text_lines); script_texts->update(value); int hw = 2*script_scroll->get_h(); script_scroll->update_length(script.size(), script_entry_no, hw, 0); @@ -863,7 +863,7 @@ void SWindowGUI::save_spumux_data() int64_t end = start + sedit->length; char *text = sedit->get_text(); if( *text ) { - fprintf(fp, "{%ld}{%ld}%s\n", start, end-1, text); + fprintf(fp, "{%jd}{%jd}%s\n", start, end-1, text); } start = end; }