1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s4:echo RPC - make this one "signed-safe"

"i" needs to be unsigned here since it counts until "r->in.len" which itself is
unsigned and not signed.
This commit is contained in:
Matthias Dieter Wallnöfer 2009-11-21 18:58:26 +01:00
parent 8919a58583
commit 5c73ecd2b3

View File

@ -54,7 +54,7 @@ static NTSTATUS dcesrv_echo_SinkData(struct dcesrv_call_state *dce_call, TALLOC_
static NTSTATUS dcesrv_echo_SourceData(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct echo_SourceData *r)
{
int i;
unsigned int i;
r->out.data = talloc_array(mem_ctx, uint8_t, r->in.len);
if (!r->out.data) {