Bruce Momjian <bruce(at)momjian(dot)us> writes:
> I think this is caused because the variable is not defined as SOCKET.
> The attached patch fixes this. This should prevent the warning.
Surely that's just going to move the errors somewhere else. The call
site still expects the argument to be int[].
regards, tom lane