summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-07 15:07:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:54 -0500
commit71921605995fa95d84301534760a6bc2db3fa74b (patch)
tree58676f522882b36e188e2e689b10d6e63f447037 /source3/printing
parentb1e866c3b7c2ef92599b5801ac8c174cfd404319 (diff)
downloadsamba-71921605995fa95d84301534760a6bc2db3fa74b.tar.gz
samba-71921605995fa95d84301534760a6bc2db3fa74b.tar.bz2
samba-71921605995fa95d84301534760a6bc2db3fa74b.zip
r22747: Fix some C++ warnings
(This used to be commit a66a04e9f11f6c4462f2b56b447bae4eca7b177c)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 92e0ba6585..2e259a8f51 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -1357,7 +1357,7 @@ static void print_queue_receive(int msg_type, struct server_id src,
int printing_type;
size_t len;
- len = tdb_unpack( buf, msglen, "fdPP",
+ len = tdb_unpack( (uint8 *)buf, msglen, "fdPP",
sharename,
&printing_type,
lpqcommand,