summaryrefslogtreecommitdiff
path: root/gcc/obstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/obstack.c')
-rwxr-xr-xgcc/obstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/obstack.c b/gcc/obstack.c
index 408fa19..0a4cd30 100755
--- a/gcc/obstack.c
+++ b/gcc/obstack.c
@@ -30,7 +30,7 @@
/* Determine default alignment. */
struct fooalign {char x; double d;};
#define DEFAULT_ALIGNMENT \
- ((PTR_INT_TYPE) ((char *) &((struct fooalign *) 0)->d - (char *) 0))
+ ((ptrdiff_t) ((char *) &((struct fooalign *) 0)->d - (char *) 0))
/* If malloc were really smart, it would round addresses to DEFAULT_ALIGNMENT.
But in fact it might be less smart and round addresses to as much as
DEFAULT_ROUNDING. So we prepare for it to do that. */