Damyan Ognyanoff <[EMAIL PROTECTED]> writes:

> Index: text.c
> ===================================================================
> RCS file: /home/wine/wine/graphics/x11drv/text.c,v
> retrieving revision 1.19
> diff -u -r1.19 text.c
> --- text.c    2000/08/29 03:51:45     1.19
> +++ text.c    2000/09/18 10:59:34
> @@ -242,7 +242,13 @@
>        {
>          XTextItem16 *items, *pitem;
>         int delta;
> -
> +     typedef union tagFixed {
> +         long total;
> +         struct { 
> +             unsigned short lo;
> +             short hi;
> +         } x;
> +     } fixed;

This is very non-portable (to use the polite term ;-)
You should use shifts and bitmasks instead.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to