diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-01-18 16:20:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:16 -0500 |
commit | a920f2f9a8e4ee076471c293765ed0bee13d4cc5 (patch) | |
tree | c242596cb0ea760978a563276d976d8d77d0dd6d /source4/torture/raw/oplock.c | |
parent | 5bd9b3b808393c8ad59f17d8d13a45b2be6ae0a6 (diff) | |
download | samba-a920f2f9a8e4ee076471c293765ed0bee13d4cc5.tar.gz samba-a920f2f9a8e4ee076471c293765ed0bee13d4cc5.tar.bz2 samba-a920f2f9a8e4ee076471c293765ed0bee13d4cc5.zip |
r13004: fix compiler warnings
metze
(This used to be commit 833efdf8a943b210ba8e5b219dc754260001bedb)
Diffstat (limited to 'source4/torture/raw/oplock.c')
-rw-r--r-- | source4/torture/raw/oplock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index 64da410bd2..6fa4c514b3 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -366,7 +366,7 @@ static BOOL test_oplock(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) wr.write.in.count = 1; wr.write.in.offset = 0; wr.write.in.remaining = 0; - wr.write.in.data = "x"; + wr.write.in.data = (const uint8_t *)"x"; status = smb_raw_write(cli->tree, &wr); CHECK_STATUS(status, NT_STATUS_OK); } @@ -383,7 +383,7 @@ static BOOL test_oplock(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) wr.write.in.count = 1; wr.write.in.offset = 0; wr.write.in.remaining = 0; - wr.write.in.data = "x"; + wr.write.in.data = (const uint8_t *)"x"; status = smb_raw_write(cli->tree, &wr); CHECK_STATUS(status, NT_STATUS_OK); } @@ -437,7 +437,7 @@ static BOOL test_oplock(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) wr.write.in.count = 1; wr.write.in.offset = 0; wr.write.in.remaining = 0; - wr.write.in.data = "x"; + wr.write.in.data = (const uint8_t *)"x"; status = smb_raw_write(cli->tree, &wr); CHECK_STATUS(status, NT_STATUS_OK); } @@ -454,7 +454,7 @@ static BOOL test_oplock(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) wr.write.in.count = 1; wr.write.in.offset = 0; wr.write.in.remaining = 0; - wr.write.in.data = "x"; + wr.write.in.data = (const uint8_t *)"x"; status = smb_raw_write(cli->tree, &wr); CHECK_STATUS(status, NT_STATUS_OK); } |