summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2005-09-22 23:45:53 +0000
committerPatrick Lam <plam@MIT.EDU>2005-09-22 23:45:53 +0000
commit67accef4d3e245c1dea341e633d82b14aa03432a (patch)
tree3362ec7cd9a9ce3229bfab083fbb8b33a548b872 /doc
parent141432505aecb158285ccc84ec5d7099e3c2efa7 (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.c4
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);