lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lzip-bug] Signature for compress in lzip.h missing const


From: Dagobert Michelsen
Subject: [Lzip-bug] Signature for compress in lzip.h missing const
Date: Mon, 10 Nov 2014 15:48:17 +0100

Hi,

I am currently building plzip 1.2 on Solaris 10 Sparc with Sun Studio 12 and 
caught
an error in the signature of the compress-function missing a „const“. The 
attached
patch fixes the issue.


Best regards

  — Dago



From fba1e08c0c6177bc434abb05ff6ce4e7b15f4159 Mon Sep 17 00:00:00 2001
From: Dagobert Michelsen <address@hidden>
Date: Mon, 10 Nov 2014 15:46:28 +0100
Subject: [PATCH] Use correct signature for compress

---
 lzip.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lzip.h b/lzip.h
index df05905..6784069 100644
--- a/lzip.h
+++ b/lzip.h
@@ -162,7 +162,7 @@ void xwait( pthread_cond_t * const cond, pthread_mutex_t * 
const mutex );
 void xsignal( pthread_cond_t * const cond );
 void xbroadcast( pthread_cond_t * const cond );
 int compress( const int data_size, const int dictionary_size,
-              const int match_len_limit, int num_workers,
+              const int match_len_limit, const int num_workers,
               const int infd, const int outfd,
               const Pretty_print & pp, const int debug_level );
 
-- 
2.0.3




-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]