On 2009.07.10., at 2:01, Przemyslaw Czerpak wrote:

On Thu, 09 Jul 2009, [email protected] wrote:

Hi,

2009-07-10 01:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
 * include/hbapigt.h
 * contrib/hbct/screen2.c
 * contrib/hbct/cursor.c
 * contrib/hbct/screen1.c
 * contrib/hbct/setrc.c
 * contrib/hbclipsm/status.c
 * contrib/hbclipsm/gauge.c
 * source/rtl/scroll.c
 * source/rtl/setposbs.c
 * source/rtl/oldbox.c
 * source/rtl/setpos.c
 * source/rtl/box.c
 * source/rtl/gtapi.c
 * source/rtl/console.c
 * source/rtl/oldclear.c
 * source/rtl/xsavescr.c
* SHORT -> int (hb_gtGetPos(), hb_gtSetPos(), hb_gtScroll(), hb_gtBox*(), hb_gtDrawBox())
   * UCHAR -> char

Thank you but please be a little bit more careful witch such modifications.
You introduced few serious bugs, i.e. you changed:
     iChar = ( UCHAR ) hb_parc( 8 )[0];
to:
     iChar = ( int ) hb_parc( 8 )[0];

I'll fix some of them and I'll commit more global [U]SHORT to int
modification but please check all places you modified where casting
to different size integer can change the results due to different
signs.

Sorry, for me it's still a pending question why at some places a char
is represented by BYTE, on some others by UCHAR, and on some others
USHORT.

There surely is a logic in it, but I can't recognize it.

Pls wait a little, I'm converting GT USHORTs to int. I'd appreciate if
you'd review it.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to