mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
DISK, TAPE: Remove compiler and Coverity warnings
This commit is contained in:
@@ -1123,7 +1123,7 @@ t_seccnt sects_read;
|
||||
if ((dptr = find_dev_from_unit (uptr)) == NULL)
|
||||
return ret_val;
|
||||
saved_capac = uptr->capac;
|
||||
uptr->capac = temp_capac;
|
||||
uptr->capac = (t_addr)temp_capac;
|
||||
if ((sim_disk_rdsect (uptr, 512 / ctx->sector_size, (uint8 *)&Home, §s_read, sizeof (Home) / ctx->sector_size)) ||
|
||||
(sects_read != (sizeof (Home) / ctx->sector_size)))
|
||||
goto Return_Cleanup;
|
||||
|
||||
Reference in New Issue
Block a user