- 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
> 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