summaryrefslogtreecommitdiff
path: root/source4/ntvfs/print
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-25 20:01:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:09 -0500
commit3308087bae76a99c02687bd11f4237d803f9f605 (patch)
tree8edac7cff6b97b13a47f29f244087cb9787c12bf /source4/ntvfs/print
parent5cbc9574a6e36229875d552cccc3009d38f1b07f (diff)
downloadsamba-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/ntvfs/print')
-rw-r--r--source4/ntvfs/print/vfs_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/print/vfs_print.c b/source4/ntvfs/print/vfs_print.c
index 4e2dfad0ca..c62357c949 100644
--- a/source4/ntvfs/print/vfs_print.c
+++ b/source4/ntvfs/print/vfs_print.c
@@ -74,7 +74,7 @@ static NTSTATUS print_ioctl(struct ntvfs_module_context *ntvfs,
data_blob_clear(&io->ioctl.out.blob);
- p = io->ioctl.out.blob.data;
+ p = (char *)io->ioctl.out.blob.data;
SSVAL(p,0, 1 /* REWRITE: fsp->rap_print_jobid */);
push_string(p+2, lp_netbios_name(), 15, STR_TERMINATE|STR_ASCII);
push_string(p+18, lp_servicename(req->tcon->service), 13, STR_TERMINATE|STR_ASCII);