From 223a19fd9b279fa90e34bfcb48fbf7124b96d896 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Tue, 26 Jul 2016 09:03:32 -0700 Subject: maybe fix 64-bit --- gcc/obstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/obstack.c') 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. */ -- cgit v1.2.3