summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/echo.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-25 18:01:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:08 -0500
commit13abb5275827673c765863d7f5bd7dafea5ad8b9 (patch)
tree3077098c8d49df14f54fb3a545ed12fd7a15ad08 /source4/torture/rpc/echo.c
parentf342dbe702655fa8d05692051012e47d1f67ed31 (diff)
downloadsamba-13abb5275827673c765863d7f5bd7dafea5ad8b9.tar.gz
samba-13abb5275827673c765863d7f5bd7dafea5ad8b9.tar.bz2
samba-13abb5275827673c765863d7f5bd7dafea5ad8b9.zip
r3959: fix compiler warnings
metze (This used to be commit e28351f710525ca9863210974544a8b1a537e63a)
Diffstat (limited to 'source4/torture/rpc/echo.c')
-rw-r--r--source4/torture/rpc/echo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c
index 441a4835f2..c141d4be9c 100644
--- a/source4/torture/rpc/echo.c
+++ b/source4/torture/rpc/echo.c
@@ -56,7 +56,7 @@ static BOOL test_echodata(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
{
int i;
NTSTATUS status;
- char *data_in, *data_out;
+ uint8_t *data_in, *data_out;
int len = 1 + (random() % 5000);
struct echo_EchoData r;
@@ -104,7 +104,7 @@ static BOOL test_sourcedata(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
int i;
NTSTATUS status;
int len = 200000 + (random() % 5000);
- char *data_out;
+ uint8_t *data_out;
struct echo_SourceData r;
printf("\nTesting SourceData\n");
@@ -138,7 +138,7 @@ static BOOL test_sinkdata(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
{
int i;
NTSTATUS status;
- char *data_in;
+ uint8_t *data_in;
int len = 200000 + (random() % 5000);
struct echo_SinkData r;