change iov_base's type from `char *' to standard `void *'

Jeremy C. Reed reed at reedmedia.net
Wed Mar 8 08:46:56 PST 2006


I saw that Xorg's xcb assumes iov_base as void *. Looking closer I saw the 
note "iov_base should be a void *" in sys/sys/uio.h.

I haven't tried myself, but someone submit update in:
http://leaf.dragonflybsd.org/mailarchive/submit/2006-01/msg00030.html

The FreeBSD commit says:
 Change iov_base's type from `char *' to the standard `void *'.  All
 uses of iov_base which assume its type is `char *' (in order to do
 pointer arithmetic) have been updated to cast iov_base to `char *'.

Does this matter?

 Jeremy C. Reed

echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'





More information about the Kernel mailing list