forked from len0rd/rockbox
Fixed warning when compiling with PREFER_C_WRITING
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5229 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
78ebf58627
commit
8eedc94018
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ static void copy_write_sectors(const unsigned char* buf, int wordcount)
|
||||||
if ( (unsigned int)buf & 1)
|
if ( (unsigned int)buf & 1)
|
||||||
{ /* not 16-bit aligned, copy byte by byte */
|
{ /* not 16-bit aligned, copy byte by byte */
|
||||||
unsigned short tmp = 0;
|
unsigned short tmp = 0;
|
||||||
unsigned char* bufend = buf + wordcount*2;
|
const unsigned char* bufend = buf + wordcount*2;
|
||||||
do
|
do
|
||||||
{ /* loop compiles to 9 assembler instructions */
|
{ /* loop compiles to 9 assembler instructions */
|
||||||
/* takes 13 clock cycles (2 pipeline stalls) */
|
/* takes 13 clock cycles (2 pipeline stalls) */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue