summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-03 07:20:44 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-03 07:20:44 +0000
commit2a24646c50b5cd295fc7dc72135fd9a843ee9b3b (patch)
tree30539065fae640135138d4ae7de7786c8547cf33 /source3/printing
parentcbeb0aa3f2d20e8587a0de5a340ca2901d49f174 (diff)
downloadsamba-2a24646c50b5cd295fc7dc72135fd9a843ee9b3b.tar.gz
samba-2a24646c50b5cd295fc7dc72135fd9a843ee9b3b.tar.bz2
samba-2a24646c50b5cd295fc7dc72135fd9a843ee9b3b.zip
fixed some ptr declarations
(This used to be commit 7a670f5f3b627543bf776fc9698a2b5d46c110a3)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 40f1f793c8..812e8303b4 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -362,7 +362,7 @@ static uint32 get_a_printer_driver_3_default(NT_PRINTER_DRIVER_INFO_LEVEL_3 **in
fstrcpy(info.name, lp_printerdriver(snum));
fstrcpy(info.defaultdatatype, "RAW");
- if ((info.dependentfiles=(char *)malloc(sizeof(fstring))) == NULL)
+ if ((info.dependentfiles=(fstring *)malloc(sizeof(fstring))) == NULL)
return ERROR_NOT_ENOUGH_MEMORY;
fstrcpy(info.dependentfiles[0], "");
@@ -1300,7 +1300,7 @@ uint32 free_a_printer_driver(NT_PRINTER_DRIVER_INFO_LEVEL driver, uint32 level)
}
case 6:
{
- NT_PRINTER_DRIVER_INFO_LEVEL_3 *info6;
+ NT_PRINTER_DRIVER_INFO_LEVEL_6 *info6;
if (driver.info_6 != NULL)
{
info6=driver.info_6;