changeset 2133:5c7bc4e019e6

[xemacs-hg @ 2004-06-16 12:49:25 by malcolmp] Further fix for IA-64.
author malcolmp
date Wed, 16 Jun 2004 12:49:26 +0000
parents 34ca43a57692
children ab08d33c34e5
files src/ChangeLog src/malloc.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Jun 16 12:01:19 2004 +0000
+++ b/src/ChangeLog	Wed Jun 16 12:49:26 2004 +0000
@@ -1,3 +1,9 @@
+2004-06-16  Malcolm Purvis  <malcolmp@xemacs.org>
+
+	* malloc.c (morecore): siz is a long because in some architectures
+	(eg ia-64) an int cannot hold the address range.  Additional patch
+	from the SuSe distribution.
+
 2004-06-15  Malcolm Purvis  <malcolmp@xemacs.org>
 
 	* emacs.c:
--- a/src/malloc.c	Wed Jun 16 12:01:19 2004 +0000
+++ b/src/malloc.c	Wed Jun 16 12:49:26 2004 +0000
@@ -339,7 +339,7 @@
 {
   char *cp;
   int nblks;
-  unsigned int siz;
+  unsigned long siz;
   int oldmask;
 
 #ifdef BSD