diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-11-25 20:01:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:09 -0500 |
commit | 3308087bae76a99c02687bd11f4237d803f9f605 (patch) | |
tree | 8edac7cff6b97b13a47f29f244087cb9787c12bf /source4/torture/basic | |
parent | 5cbc9574a6e36229875d552cccc3009d38f1b07f (diff) | |
download | samba-3308087bae76a99c02687bd11f4237d803f9f605.tar.gz samba-3308087bae76a99c02687bd11f4237d803f9f605.tar.bz2 samba-3308087bae76a99c02687bd11f4237d803f9f605.zip |
r3971: fix compiler warnings
metze
(This used to be commit 234166606dc86b9e98226cff94b3869ec173671e)
Diffstat (limited to 'source4/torture/basic')
-rw-r--r-- | source4/torture/basic/scanner.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/torture/basic/scanner.c b/source4/torture/basic/scanner.c index da18a50a0f..ad4220b9ad 100644 --- a/source4/torture/basic/scanner.c +++ b/source4/torture/basic/scanner.c @@ -48,7 +48,7 @@ check for existance of a trans2 call ****************************************************************************/ static NTSTATUS try_trans2(struct smbcli_state *cli, int op, - char *param, char *data, + uint8_t *param, uint8_t *data, int param_len, int data_len, int *rparam_len, int *rdata_len) { @@ -85,7 +85,7 @@ static NTSTATUS try_trans2(struct smbcli_state *cli, static NTSTATUS try_trans2_len(struct smbcli_state *cli, const char *format, int op, int level, - char *param, char *data, + uint8_t *param, uint8_t *data, int param_len, int *data_len, int *rparam_len, int *rdata_len) { @@ -123,7 +123,7 @@ static BOOL trans2_op_exists(struct smbcli_state *cli, int op) int data_len = 0; int param_len = 0; int rparam_len, rdata_len; - pstring param, data; + uint8_t param[1024], data[1024]; NTSTATUS status1, status2; memset(data, 0, sizeof(data)); @@ -158,7 +158,7 @@ static BOOL scan_trans2(struct smbcli_state *cli, int op, int level, int data_len = 0; int param_len = 0; int rparam_len, rdata_len; - pstring param, data; + uint8_t param[1024], data[1024]; NTSTATUS status; memset(data, 0, sizeof(data)); @@ -324,7 +324,7 @@ check for existence of a nttrans call ****************************************************************************/ static NTSTATUS try_nttrans(struct smbcli_state *cli, int op, - char *param, char *data, + uint8_t *param, uint8_t *data, int param_len, int data_len, int *rparam_len, int *rdata_len) { @@ -367,7 +367,7 @@ static NTSTATUS try_nttrans(struct smbcli_state *cli, static NTSTATUS try_nttrans_len(struct smbcli_state *cli, const char *format, int op, int level, - char *param, char *data, + uint8_t *param, uint8_t *data, int param_len, int *data_len, int *rparam_len, int *rdata_len) { @@ -405,7 +405,7 @@ static BOOL scan_nttrans(struct smbcli_state *cli, int op, int level, int data_len = 0; int param_len = 0; int rparam_len, rdata_len; - pstring param, data; + uint8_t param[1024], data[1024]; NTSTATUS status; memset(data, 0, sizeof(data)); |