From 2d9d7ffffbdbdaddd1232f2345f326d19ef2f838 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Wed, 3 Feb 2010 14:01:55 +0000 Subject: [PATCH] 2010-02-03 15:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/video.c * pacified DJGPP warning * harbour/external/jpeg/Makefile * define HAVE_STDLIB_H - it's necessary for exit() function used in jerror.c --- harbour/ChangeLog | 8 ++++++++ harbour/contrib/hbct/video.c | 2 +- harbour/external/jpeg/Makefile | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 7631e08019..754cc3d5f2 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,14 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-02-03 15:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbct/video.c + * pacified DJGPP warning + + * harbour/external/jpeg/Makefile + * define HAVE_STDLIB_H - it's necessary for exit() function used in + jerror.c + 2010-02-03 14:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po diff --git a/harbour/contrib/hbct/video.c b/harbour/contrib/hbct/video.c index c2388b72b8..1358abf2d7 100644 --- a/harbour/contrib/hbct/video.c +++ b/harbour/contrib/hbct/video.c @@ -300,7 +300,7 @@ HB_FUNC( VIDEOTYPE ) HB_FUNC( SETFONT ) { const char *font = hb_parcx( 1 ); - int len = hb_parclen( 1 ); + unsigned len = ( unsigned ) hb_parclen( 1 ); int area = hb_parni( 2 ); int offset = 0; int count = 256; diff --git a/harbour/external/jpeg/Makefile b/harbour/external/jpeg/Makefile index 8dbfb1744d..e1dfe2a093 100644 --- a/harbour/external/jpeg/Makefile +++ b/harbour/external/jpeg/Makefile @@ -89,6 +89,7 @@ ifeq ($(filter $(HB_COMPILER),<>),) include $(TOP)$(ROOT)config/detfun.mk ifneq ($(HB_HAS_JPEG_LOCAL),) + HB_CFLAGS += -DHAVE_STDLIB_H include $(TOP)$(ROOT)config/lib.mk else HB_SKIP_REASON := unused