From 2bc540f378721aa41ee00ea1295fe1472d8238d4 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 23 Oct 2007 08:12:57 +0000 Subject: [PATCH] 2007-10-23 10:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/win32/tprinter.c * casting --- harbour/ChangeLog | 4 ++++ harbour/contrib/win32/tprinter.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 98420070b7..2722a6ac75 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-10-23 10:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/win32/tprinter.c + * casting + 2007-10-23 04:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/source/common/hbwince.c diff --git a/harbour/contrib/win32/tprinter.c b/harbour/contrib/win32/tprinter.c index 4792d9b35b..f44705a897 100644 --- a/harbour/contrib/win32/tprinter.c +++ b/harbour/contrib/win32/tprinter.c @@ -331,11 +331,11 @@ LONG hb_PrintFileRaw( UCHAR * cPrinterName, UCHAR * cFileName, UCHAR * cDocName HANDLE hPrinter, hFile; DOC_INFO_1 DocInfo; DWORD nRead, nWritten, Result; - LPTSTR lpPrinterName = HB_TCHAR_CONVTO( cPrinterName ); + LPTSTR lpPrinterName = HB_TCHAR_CONVTO( ( char * ) cPrinterName ); if( OpenPrinter( lpPrinterName, &hPrinter, NULL ) != 0 ) { - LPTSTR lpDocName = HB_TCHAR_CONVTO( cDocName ); + LPTSTR lpDocName = HB_TCHAR_CONVTO( ( char * ) cDocName ); DocInfo.pDocName = lpDocName; DocInfo.pOutputFile = NULL; DocInfo.pDatatype = TEXT( "RAW" );