From 13fd59f46a94c4c86d34844f035c49dbe0bf0ad4 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 28 Apr 2009 21:05:33 +0000 Subject: [PATCH] 2009-04-28 23:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! casting --- harbour/ChangeLog | 4 ++++ harbour/source/rdd/dbf1.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 841976132f..6416ed836c 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-04-28 23:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rdd/dbf1.c + ! casting + 2009-04-28 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c ! fixed two typos in last modification - thanks for the info to Mindaugas diff --git a/harbour/source/rdd/dbf1.c b/harbour/source/rdd/dbf1.c index afdbc50a2d..03fe82132e 100644 --- a/harbour/source/rdd/dbf1.c +++ b/harbour/source/rdd/dbf1.c @@ -425,7 +425,7 @@ static void hb_dbfAllocNullFlag( DBFAREAP pArea, USHORT uiField, BOOL fLength ) if( !pArea->pFieldBits ) { ULONG ulSize = sizeof( HB_DBFFIELDBITS ) * pArea->uiFieldExtent; - pArea->pFieldBits = memset( hb_xgrab( ulSize ), 0, ulSize ); + pArea->pFieldBits = ( PHB_DBFFIELDBITS ) memset( hb_xgrab( ulSize ), 0, ulSize ); } if( fLength ) pArea->pFieldBits[ uiField ].uiLengthBit = pArea->uiNullCount++;