static int rpc_write_to_socket(struct rpc_context *rpc)
{
- int64_t count;
+ int32_t count;
if (rpc == NULL) {
return -1;
int available;
int size;
int pdu_size;
- int64_t count;
+ int32_t count;
#if defined(WIN32)
if (ioctlsocket(rpc->fd, FIONREAD, &available) != 0) {