From aeeb3d2c2e26677758a64db496c86020f99d2f1a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 21 Jun 2016 16:30:17 -0700 Subject: Fix warnings detected by -Wwrite-strings --- keygen/keygen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keygen') diff --git a/keygen/keygen.c b/keygen/keygen.c index bafcaf1c..12970100 100644 --- a/keygen/keygen.c +++ b/keygen/keygen.c @@ -282,7 +282,7 @@ sign_key(char *e_data, int e_len, char *n_data, int n_len, /*****************************************************************************/ static int APP_CC -write_out_line(int fd, char *name, char *data, int len) +write_out_line(int fd, const char *name, char *data, int len) { int max; int error; -- cgit v1.2.1