diff --git a/harbour/ChangeLog b/harbour/ChangeLog index d7ee2e5a0c..feb42d9430 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-06 22:28 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbwin/win_prn2.c + ! Silenced mingw C++ mode warning as suggested by Xavi. (Thanks!) + 2009-12-06 22:23 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt_destruct.cpp % Removed headers not required for this file. diff --git a/harbour/contrib/hbwin/win_prn2.c b/harbour/contrib/hbwin/win_prn2.c index 40012a3ba7..2817a924e2 100644 --- a/harbour/contrib/hbwin/win_prn2.c +++ b/harbour/contrib/hbwin/win_prn2.c @@ -414,7 +414,7 @@ HB_FUNC( WIN_PRINTFILERAW ) DOC_INFO_1 DocInfo; DocInfo.pDocName = lpDocName; DocInfo.pOutputFile = NULL; - DocInfo.pDatatype = TEXT( "RAW" ); + DocInfo.pDatatype = ( LPTSTR ) TEXT( "RAW" ); if( StartDocPrinter( hPrinter, 1, ( LPBYTE ) &DocInfo ) != 0 ) { if( StartPagePrinter( hPrinter ) != 0 )