summaryrefslogtreecommitdiff
path: root/lib/gnutls_compress_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-10-13 05:02:52 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-10-13 05:02:52 +0000
commit458e18ffad053301c7648deec7ad1da6f873747c (patch)
tree2612644d85306184254b31150b10264911b42b1c /lib/gnutls_compress_int.h
parent22853894970ea9db7e7bf34206f3a7abf514d1fa (diff)
downloadgnutls-458e18ffad053301c7648deec7ad1da6f873747c.tar.gz
several fixes in the codebase, mostly in signed/unsigned checkings.
Diffstat (limited to 'lib/gnutls_compress_int.h')
-rw-r--r--lib/gnutls_compress_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_compress_int.h b/lib/gnutls_compress_int.h
index a5ac2e302a..010e53553d 100644
--- a/lib/gnutls_compress_int.h
+++ b/lib/gnutls_compress_int.h
@@ -35,7 +35,7 @@ typedef struct GNUTLS_COMP_HANDLE_STRUCT {
GNUTLS_COMP_HANDLE _gnutls_comp_init( gnutls_compression_method, int d);
void _gnutls_comp_deinit(GNUTLS_COMP_HANDLE handle, int d);
-int _gnutls_decompress( GNUTLS_COMP_HANDLE handle, char* compressed, int compressed_size, char** plain, int max_record_size);
-int _gnutls_compress( GNUTLS_COMP_HANDLE, const char* plain, int plain_size, char** compressed, int max_comp_size);
+int _gnutls_decompress( GNUTLS_COMP_HANDLE handle, char* compressed, size_t compressed_size, char** plain, size_t max_record_size);
+int _gnutls_compress( GNUTLS_COMP_HANDLE, const char* plain, size_t plain_size, char** compressed, size_t max_comp_size);
#endif