From d579e0ca59ca55bd5ea3df814db323fb90f439c3 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Wed, 15 Sep 2010 14:54:36 +0000 Subject: [PATCH] 2010-09-15 16:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbzlib.c ! fixed typo --- harbour/ChangeLog | 4 ++++ harbour/src/rtl/hbzlib.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 111b516922..2df6aea626 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2010-09-15 16:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/src/rtl/hbzlib.c + ! fixed typo + 2010-09-15 16:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch % small modification to reduce lock time diff --git a/harbour/src/rtl/hbzlib.c b/harbour/src/rtl/hbzlib.c index 8160fe5fcf..6fd7d7587d 100644 --- a/harbour/src/rtl/hbzlib.c +++ b/harbour/src/rtl/hbzlib.c @@ -70,7 +70,7 @@ static uLong hb_zlibCompressBound( uLong ulLen ) { return ulLen + ( ulLen >> 12 ) + ( ulLen >> 14 ) + ( ulLen >> 25 ) + 13; } -#define compressBound( n ) ( hb_zlibCompressBound( n ) +#define compressBound( n ) hb_zlibCompressBound( n ) /* additional 12 bytes is for GZIP compression which uses bigger header */ #define deflateBound( s, n ) ( hb_zlibCompressBound( n ) + 12 ) #endif