On Tue, 1 Oct 2002 [EMAIL PROTECTED] wrote: > Anyone compiled the 3.3.4 version under Tru64 5.1A? > > I'm getting the following make errors and am not sure what should be > changed to work around this? > > cxx: Error: sockets.cxx, line 98: argument of type "unsigned int *" is > incompatible with parameter of type "int *" > getsockname(sock, (struct sockaddr *)&myaddr, &addrlen);
No, but I've compiled it under IRIX 6.5. I got the same error. =) To fix it, cast the addrlen pointer as a signed int pointer, like so: getpeername(sock, (struct sockaddr *)&peeraddr, (int *)&addrlen); You'll need to do this on every line that had an error (3 of them) and the compiler will "do the right thing" during the build.. -- Nicolas Simonds In Google non est, ergo non est. If it is not on Google, then it does not exist. _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list