summaryrefslogtreecommitdiff
path: root/media-gfx/xloadimage/files/xloadimage-4.1-c99.patch
blob: 6da8b008aa86d38759b1eccbbe57fa97c727d013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://bugs.gentoo.org/920772#c11
Signed-off-by: Stephane Bakhos <nuitari@nuitari.net>
--- a/pdsuncomp.c
+++ b/pdsuncomp.c
@@ -421,8 +421,8 @@
   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;