Make this compile on -current

This commit is contained in:
Chris Piazza 1999-12-06 23:09:57 +00:00
parent e40b9e72f6
commit bdacce70e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23628

View file

@ -0,0 +1,14 @@
--- ksirc/puke/controller.cpp.orig Mon Jun 21 16:46:39 1999
+++ ksirc/puke/controller.cpp Mon Dec 6 14:58:10 1999
@@ -220,9 +220,9 @@
#endif /* DEBUG */
struct iovec iov[2];
- iov[0].iov_base = (void *) message;
+ iov[0].iov_base = message->cArg;
iov[0].iov_len = 5*sizeof(int);
- iov[1].iov_base = (void *) message->cArg;
+ iov[1].iov_base = message->cArg;
iov[1].iov_len = message->iTextSize;
bytes = writev(fd, iov, 2);
}