diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-06-04 12:51:21 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-06-04 12:51:21 +0000 |
commit | db255608f15c447596c336dbdafb56fb9308e9c5 (patch) | |
tree | f1b4212a8085ecbaf569a3137d481099f9f3846c /source/torture/vfstest.c | |
parent | c5e8acd3b7b8a7063aa6ffde1099196daf1c317b (diff) | |
download | samba-db255608f15c447596c336dbdafb56fb9308e9c5.tar.gz samba-db255608f15c447596c336dbdafb56fb9308e9c5.tar.xz samba-db255608f15c447596c336dbdafb56fb9308e9c5.zip |
Fix compiler warnings for vfstest. Patch from Stefan Metzmacher <mezte@metzemix.de>
Diffstat (limited to 'source/torture/vfstest.c')
-rw-r--r-- | source/torture/vfstest.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/torture/vfstest.c b/source/torture/vfstest.c index fbdc0ff054a..88fe3486493 100644 --- a/source/torture/vfstest.c +++ b/source/torture/vfstest.c @@ -261,7 +261,8 @@ static void add_command_set(struct cmd_set *cmd_set) static NTSTATUS do_cmd(struct vfs_state *vfs, struct cmd_set *cmd_entry, char *cmd) { - char *p = cmd, **argv = NULL; + const char *p = cmd; + char **argv = NULL; NTSTATUS result = NT_STATUS_UNSUCCESSFUL; pstring buf; TALLOC_CTX *mem_ctx = NULL; @@ -338,7 +339,7 @@ static NTSTATUS process_cmd(struct vfs_state *vfs, char *cmd) struct cmd_list *temp_list; BOOL found = False; pstring buf; - char *p = cmd; + const char *p = cmd; NTSTATUS result = NT_STATUS_OK; int len = 0; |