src/genlib/net/sock.c: In function ‘sock_read_write’: src/genlib/net/sock.c:172:4: warning: conversion to ‘long int’ from ‘size_t’ may change the sign of the result (forward port of commit f1c4ffefdaed7b45912357943000a2e4838305df)