PATCH: ppc fix 2

Greg Turner gmturner007 at ameritech.net
Wed Oct 30 07:59:06 CST 2002


On Wednesday 30 October 2002 07:22 am, Marcus Meissner wrote:
> Hi,
>
> Just a bad macro.
>
> ciao, marcus
>
> Changelog:
> 	Fixed LITTLE_ENDIAN_32_READ macro to at least compile.
>
> Index: ndr_marshall.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/rpcrt4/ndr_marshall.c,v
> retrieving revision 1.9
> diff -u -r1.9 ndr_marshall.c
> --- ndr_marshall.c	29 Oct 2002 23:07:33 -0000	1.9
> +++ ndr_marshall.c	30 Oct 2002 13:21:15 -0000
> @@ -59,8 +59,8 @@
>
>    #define LITTLE_ENDIAN_32_READ(pchar) \
>      (MAKELONG( \
> -      MAKEWORD(*(pchar), *((pchar)+1)) \
> -      MAKEWORD(*((pchar)+2), *((pchar)+3)))
> +      MAKEWORD(*(pchar), *((pchar)+1)), \
> +      MAKEWORD(*((pchar)+2), *((pchar)+3))))
>  #endif
>
>  /*

oh, it's non-i386 only, and I guess I never tested this one...  makes 
sense now, ignore my previous comment.

-- 
gmt

"The purpose of government is to rein in the rights of the people"
 --President Bill Clinton, MTV interview, 1993




More information about the wine-devel mailing list