From 2a24646c50b5cd295fc7dc72135fd9a843ee9b3b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 3 Jun 2000 07:20:44 +0000 Subject: fixed some ptr declarations (This used to be commit 7a670f5f3b627543bf776fc9698a2b5d46c110a3) --- source3/printing/nt_printing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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; -- cgit