From b0019110f05a40d2af4ce2e154cb63cbc930e9ed Mon Sep 17 00:00:00 2001 From: Andi Jahja Date: Mon, 12 Nov 2001 21:46:20 +0000 Subject: [PATCH] andijahja@cbn.net.id --- harbour/ChangeLog | 6 ++++++ harbour/contrib/libnf/descend.c | 2 +- harbour/contrib/libnf/mouse.c | 5 ++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 01b9015bb3..99c6229526 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,9 @@ +2001-13-11 04:45 GMT+0700 Andi Jahja + * contrib/libnf/descend.c + ! added type casts for MsVC + * contrib/libnf/mouse.c + ! some clean-ups + 2001-12-11 20:00 GMT+0700 Andi Jahja * contrib/rdd_ads/ads1.c ! added type casts for MsVC (but still got warning on line 2086) diff --git a/harbour/contrib/libnf/descend.c b/harbour/contrib/libnf/descend.c index 45d04354d4..89a4e18298 100644 --- a/harbour/contrib/libnf/descend.c +++ b/harbour/contrib/libnf/descend.c @@ -75,7 +75,7 @@ HB_FUNC( FT_DESCEND) else if ( uiType & HB_IT_STRING ) { - uiLen = hb_itemSize( iP ); + uiLen = (USHORT) hb_itemSize( iP ); pDescend = ( char *) hb_xgrab( uiLen ); diff --git a/harbour/contrib/libnf/mouse.c b/harbour/contrib/libnf/mouse.c index 1460270932..be0b5e05cd 100644 --- a/harbour/contrib/libnf/mouse.c +++ b/harbour/contrib/libnf/mouse.c @@ -423,10 +423,9 @@ HB_FUNC( _M_MSETCOORD) HB_FUNC( _M_MXLIMIT) { +#if defined(HB_OS_DOS) int iMaxRow; int iMinRow; - -#if defined(HB_OS_DOS) { union REGS regs; iMaxRow=hb_parni(2); @@ -444,9 +443,9 @@ HB_FUNC( _M_MXLIMIT) HB_FUNC( _M_MYLIMIT) { +#if defined(HB_OS_DOS) int iMaxCol; int iMinCol; -#if defined(HB_OS_DOS) { union REGS regs; iMaxCol=hb_parni(2);