squelch compiler warnings in socket.c about integer sizes
[deb_libnfs.git] / lib / socket.c
index 360e511c1fb68454fb0dcfc26c290994b7b826a3..71bb817f847f142aac2cbe53fa3efe33cb902c54 100644 (file)
@@ -89,7 +89,7 @@ int rpc_which_events(struct rpc_context *rpc)
 
 static int rpc_write_to_socket(struct rpc_context *rpc)
 {
-       int64_t count;
+       int32_t count;
 
        if (rpc == NULL) {
                return -1;
@@ -133,7 +133,7 @@ static int rpc_read_from_socket(struct rpc_context *rpc)
        int available;
        int size;
        int pdu_size;
-       int64_t count;
+       int32_t count;
 
 #if defined(WIN32)
        if (ioctlsocket(rpc->fd, FIONREAD, &available) != 0) {