From 1a7fd213cedc981e523b2b0a417a9318d0c73498 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 21 Dec 2010 15:12:19 +0000 Subject: [PATCH] 2010-12-21 16:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/video.c ! Silenced msvc warning. --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbct/video.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e7807cf824..833ab11366 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2010-12-21 16:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbct/video.c + ! Silenced msvc warning. + 2010-12-21 14:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/mapi.c ! Disabled UNICODE support for WIN_MAPISENDMAIL(). Apparently this diff --git a/harbour/contrib/hbct/video.c b/harbour/contrib/hbct/video.c index 2cd93df5fe..d2cc6c5894 100644 --- a/harbour/contrib/hbct/video.c +++ b/harbour/contrib/hbct/video.c @@ -107,9 +107,9 @@ HB_FUNC( VGAPALETTE ) return; } - red = hb_parni( 2 ); - green = hb_parni( 3 ); - blue = hb_parni( 4 ); + red = ( char ) hb_parni( 2 ); + green = ( char ) hb_parni( 3 ); + blue = ( char ) hb_parni( 4 ); #if defined( __DJGPP__ ) {