[packages/ekg2] - more type fixes
qboosh
qboosh at pld-linux.org
Thu Jul 24 07:38:23 CEST 2025
commit 0d5a7848c28e5a6237173ec42090c450b77963cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jul 24 07:40:06 2025 +0200
- more type fixes
ekg2-types.patch | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/ekg2-types.patch b/ekg2-types.patch
index 8a7dce3..fbbb511 100644
--- a/ekg2-types.patch
+++ b/ekg2-types.patch
@@ -82,3 +82,23 @@
}
for (i = 1, l = final; l; l = l->next, i++) {
+--- ekg2-f427d083ee899d42532c046100490a915b0e8a82/plugins/jabber/misc.c.orig 2025-07-24 07:31:35.923030737 +0200
++++ ekg2-f427d083ee899d42532c046100490a915b0e8a82/plugins/jabber/misc.c 2025-07-24 07:31:43.346408585 +0200
+@@ -96,7 +96,7 @@ char *jabber_openpgp(session_t *s, const
+
+ #ifdef HAVE_LIBZ
+ char *jabber_zlib_compress(const char *buf, int *len) {
+- size_t destlen = (*len) * 1.01 + 12;
++ uLong destlen = (*len) * 1.01 + 12;
+ char *compressed = xmalloc(destlen);
+
+ if (compress((unsigned char *) compressed, &destlen, (unsigned char *) buf, *len) != Z_OK) {
+@@ -104,7 +104,7 @@ char *jabber_zlib_compress(const char *b
+ xfree(compressed);
+ return NULL;
+ }
+- debug_function("jabber_handle_write() compress ok, retlen: %d orglen: %d\n", destlen, *len);
++ debug_function("jabber_handle_write() compress ok, retlen: %lu orglen: %d\n", destlen, *len);
+ *len = destlen;
+
+ return compressed;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ekg2.git/commitdiff/0d5a7848c28e5a6237173ec42090c450b77963cc
More information about the pld-cvs-commit
mailing list