From 53f3e9ca98434523c57787c6f4d67216b1093525 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Tue, 12 Mar 2002 05:23:24 +0000 Subject: [PATCH] * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. From-SVN: r50633 --- gcc/ChangeLog | 4 ++++ gcc/config/mn10200/mn10200.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b722ca92383..766650e0960 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-03-12 Kaveh R. Ghazi + + * mn10200.h (PTRDIFF_TYPE): Change it to a signed type. + 2002-03-11 Richard Henderson * toplev.c (rest_of_compilation): Call purge_all_dead_edges diff --git a/gcc/config/mn10200/mn10200.h b/gcc/config/mn10200/mn10200.h index a0191fcbcdf..1356fd07c04 100644 --- a/gcc/config/mn10200/mn10200.h +++ b/gcc/config/mn10200/mn10200.h @@ -418,7 +418,7 @@ enum reg_class { #undef SIZE_TYPE #undef PTRDIFF_TYPE #define SIZE_TYPE "long unsigned int" -#define PTRDIFF_TYPE "long unsigned int" +#define PTRDIFF_TYPE "long int" /* Note sizeof (WCHAR_TYPE) must be equal to the value of WCHAR_TYPE_SIZE! */ #undef WCHAR_TYPE