On Mon, Sep 15, 2008 at 11:02:30AM -0700, Dave Hansen wrote:
No. Arithmetic on void pointer is not allowed by the standard. This is a
gcc extension. It's okay to be used in the Linux kernel but not in
general.
The second cast (from char * to void *) however is useless.
Bastian
--
Prepare for tomorrow -- get ready.
-- Edith Keeler, "The City On the Edge of Forever",
stardate unknown
--