Fix warning differ in signedness in net/net.c and net/nfs.c