The declaration of pgwin32_send in src/backend/port/win32/socket.c has:

     int pgwin32_send(SOCKET s, char *buf, int len, int flags)


but the on my Linux machine, the prototype for send() is:

     ssize_t send(int sockfd, const void *buf, size_t len, int flags);


Is there any reason not to make the second argument a "const char *" and thus avoid a whine from gcc on Windows?

cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to