summaryrefslogtreecommitdiffstats
path: root/keygen/keygen.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-06-21 16:30:17 -0700
committerPavel Roskin <plroskin@gmail.com>2016-07-08 04:29:42 +0000
commitaeeb3d2c2e26677758a64db496c86020f99d2f1a (patch)
tree3337017e28744427743d447d4735c00537783321 /keygen/keygen.c
parenta680d46edf747ec17456b6b8e69c95bc4e4407cb (diff)
downloadxrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.tar.gz
xrdp-proprietary-aeeb3d2c2e26677758a64db496c86020f99d2f1a.zip
Fix warnings detected by -Wwrite-strings
Diffstat (limited to 'keygen/keygen.c')
-rw-r--r--keygen/keygen.c2
1 files changed, 1 insertions, 1 deletions
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;