diff options
author | Tim Potter <tpot@samba.org> | 2000-07-10 06:41:04 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-07-10 06:41:04 +0000 |
commit | b561c185972921861946a69b8846681bc7ed3f87 (patch) | |
tree | 98d741d45164d90d0162ddcd01aa5f40adf6dc1a /source3/rpc_server/srv_spoolss_nt.c | |
parent | 64299375b544de91dab75d62610d7dc7f1f8328d (diff) | |
download | samba-b561c185972921861946a69b8846681bc7ed3f87.tar.gz samba-b561c185972921861946a69b8846681bc7ed3f87.tar.bz2 samba-b561c185972921861946a69b8846681bc7ed3f87.zip |
Fixes for various compile warnings on Solaris 8.
(This used to be commit 898a483cdab1ed7d8ff902c0dc0e0620440ae4cd)
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 0be371df11..dd3a5dd733 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -2941,7 +2941,8 @@ uint32 _spoolss_writeprinter( const POLICY_HND *handle, return ERROR_INVALID_HANDLE; } - (*buffer_written) = print_job_write(Printer->jobid, buffer, buffer_size); + (*buffer_written) = print_job_write(Printer->jobid, (char *)buffer, + buffer_size); return 0x0; } |