File xdelta-1.1.4-large-files.patch of Package xdelta

Index: xdelta-1.1.4/xdelta.c
===================================================================
--- xdelta-1.1.4.orig/xdelta.c
+++ xdelta-1.1.4/xdelta.c
@@ -956,7 +956,7 @@ xdp_generate_delta_int (XdeltaGenerator
 			XdeltaOutStream *data_out)
 {
   gint i, j, total_from_ck_count = 0, prime = 0, index = 0;
-  gint total_from_len = 0;
+  gssize total_from_len = 0;
   guint32* table = NULL;
 
   if (QUERY_SIZE == 0)
openSUSE Build Service is sponsored by