msvcr90: Fix byteswap_ulong implementation.

This commit is contained in:
Piotr Caban 2012-04-20 12:16:38 +02:00 committed by Alexandre Julliard
parent caf15dd797
commit c0140118be
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ unsigned short CDECL _byteswap_ushort(unsigned short s)
/********************************************************************* /*********************************************************************
* _byteswap_ulong (MSVCR90.@) * _byteswap_ulong (MSVCR90.@)
*/ */
unsigned long CDECL _byteswap_ulong(unsigned long l) ULONG CDECL _byteswap_ulong(ULONG l)
{ {
return (l<<24) + ((l<<8)&0xFF0000) + ((l>>8)&0xFF00) + (l>>24); return (l<<24) + ((l<<8)&0xFF0000) + ((l>>8)&0xFF00) + (l>>24);
} }