forked from Imagelibrary/rtems
Fixed case where wrong variable was used.
This commit is contained in:
@@ -190,7 +190,7 @@ static inline unsigned int i386_swap_U32(
|
|||||||
"rorl $16,%0;"
|
"rorl $16,%0;"
|
||||||
"rorw $8,%%ax" : "=a" (lout) : "0" (value) );
|
"rorw $8,%%ax" : "=a" (lout) : "0" (value) );
|
||||||
#else
|
#else
|
||||||
__asm__ volatile( "bswap %0" : "=r" (lout) : "0" (lin));
|
__asm__ volatile( "bswap %0" : "=r" (lout) : "0" (value));
|
||||||
#endif
|
#endif
|
||||||
return( lout );
|
return( lout );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user