On Tue, Sep 15, 2009 at 02:23:50AM +0200, Carlos R. Mafra wrote: > 'data' is being cast to the proper type as specified in the man page, > and as far as I understand there is no problem in doing that > cast in 32 or 64-bit mode. So what is not true? This is array of long's and XChangeProperty() expects 32-bit words. And long is 64-bit wide on 64-bit machines.
> > > data[o++] = image->width; > > Better make sure that image->width and image->height fits to > > CARD32 here and on next line. > I don't see why they wouldn't. Some compilers may generate warnings. -- Regards, Sir Raorn.
signature.asc
Description: Digital signature
