openbsd-ports/x11/xloadimage/patches/patch-pdsuncomp_c
naddy 746e5c5047 x11/xloadimage: update to Debian patch level 25 and fix compiler warnings
This fixes miscellaneous variable type errors.  Prodded by jca@ after
clang 15 fallout.
2023-01-12 15:55:58 +00:00

15 lines
340 B
Plaintext

Index: pdsuncomp.c
--- pdsuncomp.c.orig
+++ pdsuncomp.c
@@ -417,8 +417,8 @@ int pdsRead(zf, buf, size)
static char obuf[2048];
char ibuf[2048];
int left;
- int in_length;
- static int out_length= 2048, out_ptr= 0;
+ long int in_length;
+ static long int out_length= 2048, out_ptr= 0;
if (Decompressing) {
left= size;