diff options
author | Patrick Lam <plam@MIT.EDU> | 2005-09-22 23:45:53 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2005-09-22 23:45:53 +0000 |
commit | 67accef4d3e245c1dea341e633d82b14aa03432a (patch) | |
tree | 3362ec7cd9a9ce3229bfab083fbb8b33a548b872 /doc | |
parent | 141432505aecb158285ccc84ec5d7099e3c2efa7 (diff) |
Fix more gcc4 warnings:
- Cast sizeof to int, to shut up signedness warnings in comparison.
- Add consts where appropriate.
reviewed by: Patrick Lam <plam@mit.edu>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/edit-sgml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/edit-sgml.c b/doc/edit-sgml.c index 3542a5a..77cc807 100644 --- a/doc/edit-sgml.c +++ b/doc/edit-sgml.c @@ -77,7 +77,7 @@ static void ReplaceDispose (Replace *r); static void -Bail (char *format, char *arg); +Bail (const char *format, const char *arg); static Replace * ReplaceRead (FILE *f); @@ -249,7 +249,7 @@ ReplaceDispose (Replace *r) } static void -Bail (char *format, char *arg) +Bail (const char *format, const char *arg) { fprintf (stderr, "fatal: "); fprintf (stderr, format, arg); |