summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-08-24 20:32:01 +0000
committerHerb Lewis <herb@samba.org>2001-08-24 20:32:01 +0000
commit717533483b41ef975953f58e0c6be04828a3d467 (patch)
tree1eba76475bd03c51e9d2d2f840634517297d0024 /source3/printing/nt_printing.c
parentb9e7eeaf4fc13fb9e2dbee69e07bc6800f6e427a (diff)
downloadsamba-717533483b41ef975953f58e0c6be04828a3d467.tar.gz
samba-717533483b41ef975953f58e0c6be04828a3d467.tar.bz2
samba-717533483b41ef975953f58e0c6be04828a3d467.zip
get rid of compiler warnings
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 20bdcda5ec..63cfe614e3 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -2900,7 +2900,7 @@ static BOOL convert_driver_init(NT_PRINTER_PARAM *param, TALLOC_CTX *ctx, NT_DEV
ZERO_STRUCT(devmode);
prs_init(&ps, 0, ctx, UNMARSHALL);
- ps.data_p = param->data;
+ ps.data_p = (char *)param->data;
ps.buffer_size = param->data_len;
if (spoolss_io_devmode("phantom DEVMODE", &ps, 0, &devmode))