From 11dc9cf95ad1cf60773e87f6a83be2867c9b6f0e Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 1 Jun 2009 17:37:40 +0000 Subject: What a horrible bug... you can not deterministically have the output size of ucl_decompress... --- include/Handle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/Handle.h b/include/Handle.h index 8b9f866..a22c8e0 100644 --- a/include/Handle.h +++ b/include/Handle.h @@ -73,7 +73,7 @@ class Handle : public Base { static int zlib_deflate(Handle * in, Handle * out) throw (GeneralException); #ifdef HAVE_UCL static int ucl_compress(Handle * in, Handle * out, int len_in = -1) throw (GeneralException); - static int ucl_decompress(Handle * in, Handle * out, int len_in = -1) throw (GeneralException); + static int ucl_decompress(Handle * in, Handle * out, unsigned int len_out, int len_in = -1) throw (GeneralException); #endif protected: Handle(int h); -- cgit v1.2.3