aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/utils.c2
-rw-r--r--FICS/utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index 05ee795..b69a5ea 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -269,7 +269,7 @@ pcommand(int p, char *comstr, ...)
}
PUBLIC int
-pprintf(int p, char *format, ...)
+pprintf(int p, const char *format, ...)
{
char tmp[10 * MAX_LINE_SIZE];
int retval;
diff --git a/FICS/utils.h b/FICS/utils.h
index 529a3db..3bcdd4d 100644
--- a/FICS/utils.h
+++ b/FICS/utils.h
@@ -91,7 +91,7 @@ extern int mail_string_to_address(char *, char *, char *);
extern int mail_string_to_user(int, char *, char *);
extern int pcommand(int, char *, ...) PRINTFLIKE(2);
extern int pmore_file(int);
-extern int pprintf(int, char *, ...) PRINTFLIKE(2);
+extern int pprintf(int, const char *, ...) PRINTFLIKE(2);
extern int pprintf_highlight(int, char *, ...) PRINTFLIKE(2);
extern int pprintf_noformat(int, char *, ...) PRINTFLIKE(2);
extern int pprintf_prompt(int, char *, ...) PRINTFLIKE(2);