W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2007

Re: [Announce] Amaya 9.55 republished

From: Emilien Kia <emilien.kia@inrialpes.fr>
Date: Tue, 24 Jul 2007 15:23:29 +0200
To: Regis Boudin <regis@boudin.name>
Cc: www-amaya@w3.org
Message-Id: <1185283409.23772.31.camel@localhost>

> On Tue, July 24, 2007 07:54, Emilien Kia wrote:
> >
> > Hello
> >
> > In fact, it is not a problem of int/intprt_t in the declaration of the
> internal structure but a problem of voidized pointer in the
> > SetAttrValueToRange function.
> 
> I have no idea what a 'voidized' pointer is, but casting a pointer (void
> or not) to an int does not work well when sizeof(int)==4 and
> sizeof(void*)==8.
> 
> I'm curious to see what the proper fix is.
> 
> Regis

"Voidized" pointer is for void* pointer instead of a typed pointer.

Here, we use a void* to pass int or char*.
A proper manner should use a union ;-) .
But the code will change as I will add some code.

Emilien
Received on Tuesday, 24 July 2007 13:26:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:47 UTC