Search
lxdream.org :: lxdream :: r423:f92f80fe64da
lxdream 0.9.1
released Jun 29
Download Now
changeset423:f92f80fe64da
parent422:61a0598e07ff
child424:421d68e78c46
authornkeynes
dateSat Oct 06 09:04:53 2007 +0000 (12 years ago)
Fix remaining compilation warning
src/gdrom/ide.c
1.1 --- a/src/gdrom/ide.c Sat Oct 06 09:03:24 2007 +0000
1.2 +++ b/src/gdrom/ide.c Sat Oct 06 09:04:53 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: ide.c,v 1.24 2007-10-06 08:58:00 nkeynes Exp $
1.6 + * $Id: ide.c,v 1.25 2007-10-06 09:04:53 nkeynes Exp $
1.7 *
1.8 * IDE interface implementation
1.9 *
1.10 @@ -307,7 +307,7 @@
1.11 if( xferlen > remaining ) {
1.12 xferlen = remaining;
1.13 }
1.14 - mem_copy_to_sh4( addr, data_buffer + idereg.data_offset, xferlen );
1.15 + mem_copy_to_sh4( addr, (char *)(data_buffer + idereg.data_offset), xferlen );
1.16 xfercount += xferlen;
1.17 addr += xferlen;
1.18 idereg.data_offset += xferlen;
.