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" );