2009-03-26 14:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)

* harbour/contrib/hbole/olecore.c
    * fixed compile time warning
This commit is contained in:
Mindaugas Kavaliauskas
2009-03-26 12:13:27 +00:00
parent f0fd53ed38
commit 4d75ff9c20
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-03-26 14:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbole/olecore.c
* fixed compile time warning
2009-03-25 23:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/pp/ppcore.c
! fixed line number set for C preprocessor in #pragma begindump

View File

@@ -113,7 +113,7 @@ static char* WideToAnsi( wchar_t* szWide )
char* szString;
iLen = WideCharToMultiByte( CP_ACP, 0, szWide, -1, NULL, 0, NULL, NULL );
szString = hb_xgrab( ( iLen + 1 ) * sizeof( char ) );
szString = ( char* ) hb_xgrab( ( iLen + 1 ) * sizeof( char ) );
WideCharToMultiByte( CP_ACP, 0, szWide, -1, szString, iLen, NULL, NULL );
return szString;
}