summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-05 15:56:55 +0100
committerVolker Lendecke <vl@samba.org>2012-03-05 17:38:16 +0100
commitcae455f68802be2fa31328878be4119df1c1d864 (patch)
tree65484e5ea8f9524c4f2d26ca1e41159af6563fcc
parent216769f2ce7d18a7ca83bf440b6efd7ad4675675 (diff)
downloadsamba-cae455f68802be2fa31328878be4119df1c1d864.tar.gz
samba-cae455f68802be2fa31328878be4119df1c1d864.tar.bz2
samba-cae455f68802be2fa31328878be4119df1c1d864.zip
s3: Fix a "Invalid (state->nread >= 0)" warning
Both read_from_internal_pipe and tstream_readv_pdu_queue_recv return ssize_t. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 5 17:38:16 CET 2012 on sn-devel-104
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index 3616922b9b..e4172e7252 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -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;
};