From 2bff3fd5272ea60a55570812b780ddef91bc45d0 Mon Sep 17 00:00:00 2001 From: Brad Lucier Date: Fri, 8 Dec 2000 18:42:13 +0000 Subject: [PATCH] * tradcpp.c (do_include): Make pointer differences 64-bit clean. From-SVN: r38133 --- gcc/ChangeLog | 4 ++++ gcc/tradcpp.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a66a33e29a2..36195657042 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-12-08 Brad Lucier + + * tradcpp.c (do_include): Make pointer differences 64-bit clean. + Fri Dec 8 08:23:29 2000 J"orn Rennecke * fp-bit.c (_fpmul_parts): Use USItype variables as inputs diff --git a/gcc/tradcpp.c b/gcc/tradcpp.c index 2117903ef2b..afff42307d9 100644 --- a/gcc/tradcpp.c +++ b/gcc/tradcpp.c @@ -2328,10 +2328,10 @@ get_filename: if (print_deps > (system_header_p || (system_include_depth > 0))) { if (system_header_p) warning ("nonexistent file <%.*s> omitted from dependency output", - fend - fbeg, fbeg); + flen, fbeg); else { - deps_output ((const char *)fbeg, fend - fbeg); + deps_output ((const char *)fbeg, flen); deps_output (" ", 0); } }