[argyllcms] Re: X error under AMD64 arch

Hi

I thought this night that in fact my change does not work in 32bits,
maybe this solution is better. Is there a problem fixing the format to 8
bits.
>
>
> alezan:/home/mike/argyll-0.60/spectro# diff -u dispwin.c dispwin_orig.c
> --- dispwin.c   2006-08-13 23:49:07.000000000 +0200
> +++ dispwin_orig.c      2006-08-13 22:41:16.000000000 +0200
> @@ -1590,7 +1590,7 @@
>                                 p->mydisplay, p->mywindow,
>                                 XA_WM_TRANSIENT_FOR,            /*
> Property */
>                                
> XA_WINDOW,                                      /* Type */
> -                               8,                 /* format */
> +                               sizeof(Window) * 8,                    
> /* format */
>                                 PropModeReplace,                       
> /* Change mode */                                (char
> *)(&rootwindow),          /* Data is Root Window XID */
>                                
> 1                                                       /* Number of
> elements of data */
>
>   


Regards
Mike

Other related posts: