mirror of
https://github.com/simh/simh.git
synced 2026-01-25 19:56:25 +00:00
SCP: Compiler suggested cleanup
This commit is contained in:
@@ -488,7 +488,7 @@ if (!fOut) {
|
||||
st = sim_messagef (SCPE_ARG, "Can't open '%s' for output: %s\n", dest_file, strerror (errno));
|
||||
goto Cleanup_Return;
|
||||
}
|
||||
buf = malloc (BUFSIZ);
|
||||
buf = (char *)malloc (BUFSIZ);
|
||||
while ((bytes = fread (buf, 1, BUFSIZ, fIn)))
|
||||
fwrite (buf, 1, bytes, fOut);
|
||||
Cleanup_Return:
|
||||
|
||||
Reference in New Issue
Block a user