File ghostscript-8.61-broken64.dif of Package ghostscript-library

--- src/gxobj.h
+++ src/gxobj.h	2005-03-14 00:00:00.000000000 +0100
@@ -92,7 +92,7 @@ typedef struct obj_header_data_s {
     uint size;
     union _t {
 	gs_memory_type_ptr_t type;
-	uint reloc;
+	size_t reloc;
     } t;
 #   if IGC_PTR_STABILITY_CHECK
     unsigned space_id:3; /* r_space_bits + 1 bit for "instability". */
@@ -127,7 +127,7 @@ typedef struct obj_header_data_s {
 #endif
 #define obj_align_mask (obj_align_mod-1)
 #define obj_align_round(siz)\
-  (uint)(((siz) + obj_align_mask) & -obj_align_mod)
+  (size_t)(((siz) + obj_align_mask) & -obj_align_mod)
 #define obj_size_round(siz)\
   obj_align_round((siz) + sizeof(obj_header_t))
 
--- src/igc.c
+++ src/igc.c	2005-03-14 00:00:00.000000000 +0100
@@ -1148,7 +1148,7 @@ gc_clear_reloc(chunk_t * cp)
 static void
 gc_objects_set_reloc(chunk_t * cp)
 {
-    uint reloc = 0;
+    size_t reloc = 0;
     chunk_head_t *chead = cp->chead;
     byte *pfree = (byte *) & chead->free;	/* most recent free object */
 
openSUSE Build Service is sponsored by