Revision 4d1165fa hw/pl080.c

b/hw/pl080.c
243 243
        return s->sync;
244 244
    default:
245 245
    bad_offset:
246
        cpu_abort(cpu_single_env, "pl080_read: Bad offset %x\n", offset);
246
        cpu_abort(cpu_single_env, "pl080_read: Bad offset %x\n", (int)offset);
247 247
        return 0;
248 248
    }
249 249
}
......
305 305
        break;
306 306
    default:
307 307
    bad_offset:
308
        cpu_abort(cpu_single_env, "pl080_write: Bad offset %x\n", offset);
308
        cpu_abort(cpu_single_env, "pl080_write: Bad offset %x\n", (int)offset);
309 309
    }
310 310
    pl080_update(s);
311 311
}

Also available in: Unified diff