This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
unsigned_N val;
if (vm_data_map_read_buffer(map, &val, ea, sizeof(unsigned_N), processor, cia)
!= sizeof(unsigned_N)) {
- cpu_error(processor, cia, "misaligned %d byte read to 0x%lx failed",
+ cpu_error(processor, cia, "misaligned %zu byte read to 0x%lx failed",
sizeof(unsigned_N), (unsigned long)ea);
}
val = T2H_N(val);
unsigned_N data = H2T_N(val);
if (vm_data_map_write_buffer(map, &data, ea, sizeof(unsigned_N), 0, processor, cia)
!= sizeof(unsigned_N)) {
- cpu_error(processor, cia, "misaligned %d byte write to 0x%lx failed",
+ cpu_error(processor, cia, "misaligned %zu byte write to 0x%lx failed",
sizeof(unsigned_N), (unsigned long)ea);
}
if (WITH_MON & MONITOR_LOAD_STORE_UNIT) {