From c0f08629cc4700240d3dbbe91c0dd4dd65636337 Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 25 Aug 2003 14:47:40 +0000 Subject: [PATCH] * Use ptrdiff_t for address arithmetics. git-svn-id: svn://svn.zoy.org/elk/trunk@40 55e467fa-43c5-0310-a8a2-de718669efc6 --- include/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/object.h b/include/object.h index 43439ce..4b568b1 100644 --- a/include/object.h +++ b/include/object.h @@ -43,7 +43,7 @@ typedef struct { typedef int gcspace_t; /* type for space and type arrays */ typedef unsigned long int gcptr_t; /* type for pointers */ typedef unsigned long int pageno_t; /* type for page numbers */ - typedef unsigned long int addrarith_t; /* type for address arithmetic */ + typedef ptrdiff_t addrarith_t; /* type for address arithmetic */ extern gcspace_t *space; extern gcspace_t current_space;