summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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;