From 8fc97aca43e9f9a548b0a2619b4e34262c5fe36a Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 19 May 2011 18:30:36 +0000 Subject: [PATCH] 2011-05-19 20:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/arc4.c ! silence warning on bsd [Tamas Tevesz] --- harbour/ChangeLog | 4 ++++ harbour/src/rtl/arc4.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 9c59256006..be814bd2ec 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2011-05-19 20:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * src/rtl/arc4.c + ! silence warning on bsd [Tamas Tevesz] + 2011-05-19 11:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: regression on optimization on syantax highlighting. diff --git a/harbour/src/rtl/arc4.c b/harbour/src/rtl/arc4.c index c02ca9ee29..fa1af05989 100644 --- a/harbour/src/rtl/arc4.c +++ b/harbour/src/rtl/arc4.c @@ -276,7 +276,7 @@ static int arc4_seed_sysctl_bsd( void ) } /* make sure that the buffer actually got set. */ - for( i = any_set = 0; i < sizeof( buf ); ++i ) + for( i = any_set = 0; i < ( int ) sizeof( buf ); ++i ) any_set |= buf[ i ]; if( ! any_set )