[BUILD] fix warning in proto_tcp.c with gcc >= 4

signedness issues.
2 files changed