Correct cast on expression

This commit is contained in:
Paul Tucker
1999-10-13 21:00:16 +00:00
parent a47c9d93e8
commit b8ec64d244
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
19991013-17:45 EDT Paul Tucker <ptucker@sympatico.ca>
* source/rtl/oldbox.c
* Add parens so cast applies to entire expression
19991013-22:37 GMT+1 Victor Szel <info@szelvesz.hu>
* tests/rtl_test.prg
* Column width adjusted.

View File

@@ -42,7 +42,7 @@ HARBOUR HB___BOX( void )
if( ISNUM( 1 ) && ISNUM( 2 ) && ISNUM( 3 ) && ISNUM( 4 ) && ISCHAR( 5 ) )
hb_gtBox( hb_parni( 1 ), hb_parni( 2 ),
hb_parni( 3 ), hb_parni( 4 ),
( BYTE * ) frame ? frame : " " );
( BYTE * ) ( frame ? frame : " " ) );
}
HARBOUR HB___BOXD( void )