2007-10-24 20:57 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)

* harbour/source/rtl/hbbit.c
    + fixed HB_BITRESET()
This commit is contained in:
Mindaugas Kavaliauskas
2007-10-24 17:59:19 +00:00
parent 7217e67faf
commit e2e2d24604
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2007-10-24 20:57 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/rtl/hbbit.c
+ fixed HB_BITRESET()
2007-10-24 17:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* debian/control
! Fixed pkg dependency to allow building Harbour on some

View File

@@ -144,7 +144,7 @@ HB_FUNC( HB_BITRESET )
{
HB_LONG lValue, lBit;
if( hb_numParam( 1, &lValue ) && hb_numParam( 2, &lBit ) )
hb_retnint( lValue & ( ( ~ ( HB_LONG ) 1 ) << lBit ) );
hb_retnint( lValue & ( ~ ( ( HB_LONG ) 1 << lBit ) ) );
}
HB_FUNC( HB_BITSHIFT )