s3: Fix a "Invalid (state->nread >= 0)" warning
[ira/wip.git] / source3 / rpc_server / srv_pipe_hnd.c
index 3616922b9bfe8cc4336318c0ff71f9a4a695ede5..e4172e7252d90f4b9620ce2051aa6c39c12a33ef 100644 (file)
@@ -687,7 +687,7 @@ struct np_read_state {
        struct np_proxy_state *p;
        struct np_ipc_readv_next_vector_state next_vector;
 
-       size_t nread;
+       ssize_t nread;
        bool is_data_outstanding;
 };