From 632bde4ab4106095cd71a9aa4d58d5307771e752 Mon Sep 17 00:00:00 2001 From: Bruno Cantero Date: Sat, 2 Sep 2000 05:55:30 +0000 Subject: [PATCH] 2000-09-02 07:56 GMT+1 Bruno Cantero --- harbour/ChangeLog | 5 +++++ harbour/source/rtl/gtcgi/gtcgi.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 21ca6d317f..a14757d437 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,8 @@ +2000-09-02 07:56 GMT+1 Bruno Cantero + + Added ( BYTE * ) casting to hb_gt_AdjustPos() parameter calls. + + Added ( char * ) casting to out_stdout() parameter calls. + + 2000-09-02 00:08 GMT+1 Bruno Cantero + include/hbdbf.h + include/hbrddcdx.h diff --git a/harbour/source/rtl/gtcgi/gtcgi.c b/harbour/source/rtl/gtcgi/gtcgi.c index 5d028f4553..341d241fca 100644 --- a/harbour/source/rtl/gtcgi/gtcgi.c +++ b/harbour/source/rtl/gtcgi/gtcgi.c @@ -237,7 +237,7 @@ static void hb_gt_xPutch( USHORT uiRow, USHORT uiCol, BYTE byAttr, BYTE byChar ) szBuffer[ 1 ] = '\0'; out_stdout( szBuffer, 1 ); - hb_gt_AdjustPos( szBuffer, 1 ); + hb_gt_AdjustPos( ( BYTE * ) szBuffer, 1 ); } void hb_gt_Puts( USHORT uiRow, USHORT uiCol, BYTE byAttr, BYTE * pbyStr, ULONG ulLen ) @@ -248,7 +248,7 @@ void hb_gt_Puts( USHORT uiRow, USHORT uiCol, BYTE byAttr, BYTE * pbyStr, ULONG u hb_gt_SetPos( uiRow, uiCol, HB_GT_SET_POS_BEFORE ); - out_stdout( pbyStr, ulLen ); + out_stdout( ( char * ) pbyStr, ulLen ); hb_gt_AdjustPos( pbyStr, ulLen ); }