Commit 1df97aa4 by Brad Lucier Committed by Neil Booth

tradcpp.c (do_error): Cast difference of pointers to int for error message.

        * tradcpp.c (do_error): Cast difference of pointers to int
        for error message.

From-SVN: r38212
parent edf11378
2000-12-12 Brad Lucier <lucier@math.purdue.edu>
* tradcpp.c (do_error): Cast difference of pointers to int
for error message.
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here... * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
......
...@@ -3184,7 +3184,7 @@ do_error (buf, limit, op) ...@@ -3184,7 +3184,7 @@ do_error (buf, limit, op)
U_CHAR *limit; U_CHAR *limit;
FILE_BUF *op ATTRIBUTE_UNUSED; FILE_BUF *op ATTRIBUTE_UNUSED;
{ {
error ("#error%.*s", limit - buf, buf); error ("#error%.*s", (int) (limit - buf), buf);
} }
/* Handle a #assert directive. */ /* Handle a #assert directive. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment