1
0
mirror of https://github.com/simh/simh.git synced 2026-02-22 23:29:15 +00:00

Merge remote-tracking branch 'github-simh/master' into KDP

This commit is contained in:
Mark Pizzolato
2013-06-02 17:34:30 -07:00
2 changed files with 4 additions and 1 deletions

View File

@@ -661,7 +661,7 @@ t_stat reason;
reason = attach_unit (uptr, cptr); /* attach file */
if (reason == SCPE_OK) {
sim_fseek (uptr->fileref, 0, SEEK_END);
uptr->pos = sim_ftell (uptr->fileref);
uptr->pos = (t_addr)sim_ftell (uptr->fileref);
}
if (lpcsa & CSA_ONL) /* just file chg? */
return reason;