From 8deca1d4bf1f740d570d533e063220993f31e0b6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 Nov 2019 01:42:43 +0000 Subject: [PATCH 1/1] cli.c: Make a fixed string const-correct Signed-off-by: Ian Jackson --- cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'}, -- 2.30.2