> >Another way to "fix" it is:
> >
> >-    return vfnprintf( (FILE *)&stream, size, format, arg );
> >+    return vfnprintf( (FILE *)(void*)&stream, size, format, arg );
> >
> >is it "correct" fix?
> 
> "Correct", no. But I take your point about not actually dereferencing the 
> pointer here, so aliasing is never, in practice, going to be an issue. So 
> let's just go with this one, since it's simple. I'm about to go offline 
> for an extended period, so it can wait for me to return, or perhaps Andrew 
> can check it in with just that change.

I've committed the patch with the added (void *).

     Thanks
        Andrew

Reply via email to