From: Ian Jackson Date: Sun, 17 Nov 2019 01:42:43 +0000 (+0000) Subject: cli.c: Make a fixed string const-correct X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=base91.git;a=commitdiff_plain;h=8deca1d4bf1f740d570d533e063220993f31e0b6;hp=c4ccd63b1f4d8a556c4ad764a23364e4b7424338 cli.c: Make a fixed string const-correct Signed-off-by: Ian Jackson --- diff --git a/cli.c b/cli.c index f365991..7ca7f33 100644 --- a/cli.c +++ b/cli.c @@ -140,8 +140,8 @@ int main(int argc, char **argv) { size_t buf_size = 65536; /* buffer memory defaults to 64 KiB */ int flags = init_flags(*argv); - char *ifile = "from standard input"; - char *ofile = NULL; + const char *ifile = "from standard input"; + const char *ofile = NULL; int opt; struct option longopts[8] = { {"decode", no_argument, NULL, 'd'},