diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 0025f06fea..712229c6fa 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -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 diff --git a/harbour/contrib/hbole/olecore.c b/harbour/contrib/hbole/olecore.c index a9220cb92c..07ece81186 100644 --- a/harbour/contrib/hbole/olecore.c +++ b/harbour/contrib/hbole/olecore.c @@ -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; }