revision 371:f2fe152cfc9b
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 371:f2fe152cfc9b |
parent | 370:3131ba1440fc |
child | 372:86aa060ddcec |
author | nkeynes |
date | Sat Sep 08 04:38:11 2007 +0000 (16 years ago) |
Fix warning
src/sh4/sh4mem.c | view | annotate | diff | log |
1.1 --- a/src/sh4/sh4mem.c Sat Sep 08 04:05:35 2007 +00001.2 +++ b/src/sh4/sh4mem.c Sat Sep 08 04:38:11 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: sh4mem.c,v 1.21 2007-09-08 03:11:53 nkeynes Exp $1.6 + * $Id: sh4mem.c,v 1.22 2007-09-08 04:38:11 nkeynes Exp $1.7 * sh4mem.c is responsible for the SH4's access to memory (including memory1.8 * mapped I/O), using the page maps created in mem.c1.9 *1.10 @@ -394,7 +394,7 @@1.11 {1.12 /* Store queue operation */1.13 int queue = (addr&0x20)>>2;1.14 - int32_t *src = &sh4r.store_queue[queue];1.15 + char *src = (char *)&sh4r.store_queue[queue];1.16 uint32_t hi = (MMIO_READ( MMU, (queue == 0 ? QACR0 : QACR1) ) & 0x1C) << 24;1.17 uint32_t target = addr&0x03FFFFE0 | hi;1.18 mem_copy_to_sh4( target, src, 32 );
.