2008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>

* erc32.c, exec.c: Fix warnings.
This commit is contained in:
Joel Sherrill
2008-11-11 22:20:54 +00:00
parent 3c8b2edaed
commit d68c23cd04
3 changed files with 9 additions and 4 deletions

View File

@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <termios.h>
#include <sys/fcntl.h>
#include <sys/file.h>
@@ -1659,7 +1660,7 @@ memory_read(asi, addr, data, sz, ws)
errmec = 0;
return(1);
}
#endif;
#endif
if ((addr >= mem_ramstart) && (addr < (mem_ramstart + mem_ramsz))) {
fetch_bytes (asi, &ramb[addr & mem_rammask], data, sz);
@@ -1736,7 +1737,7 @@ memory_write(asi, addr, data, sz, ws)
errmec = 0;
return(1);
}
#endif;
#endif
if ((addr >= mem_ramstart) && (addr < (mem_ramstart + mem_ramsz))) {
if (mem_accprot) {