From: Eric Y. K. <eri...@gm...> - 2006-11-25 13:59:17
|
Hi, I'm going to push a slightly modified version of this patch in. The only modification is in the description. Arie, you'll want to obliterate your version of the patch so that it does not conflict with the one I push in. The patch seems to make sense (although I must point out I haven't done any C coding since the late 90s and can't really claim to know what I'm talking about). I found this bit of explanation on the web helpful: Any valid pointer to an object (the original C99 text speaks of "any valid pointer to void") can be converted to this type, and then converted back safely to void *. The result must compare equal to the original pointer. In other words, intptr_t legalizes a popular yet non-portable tradition of converting data pointers to integral types, and vice versa. --=20 Eric Kow http://www.loria.fr/~kow PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais. |