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
This commit is contained in:
parent
edf1137870
commit
1df97aa412
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
|
||||
|
@ -3184,7 +3184,7 @@ do_error (buf, limit, op)
|
||||
U_CHAR *limit;
|
||||
FILE_BUF *op ATTRIBUTE_UNUSED;
|
||||
{
|
||||
error ("#error%.*s", limit - buf, buf);
|
||||
error ("#error%.*s", (int) (limit - buf), buf);
|
||||
}
|
||||
|
||||
/* Handle a #assert directive. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user