From a22afa7a7214b2814376c9b95cda17b6623ad7de Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Mon, 16 Aug 2004 18:31:05 +0000 Subject: [PATCH] Added more const-ness to variables. --- src/file.c | 2 +- src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file.c b/src/file.c index 2f7279bfc..548456dd7 100644 --- a/src/file.c +++ b/src/file.c @@ -164,7 +164,7 @@ static unsigned char * do_transform_source (FileOpContext *ctx, unsigned char *source) { size_t j, k, l, len; - unsigned char *fnsource = x_basename (source); + unsigned const char *fnsource = x_basename (source); int next_reg; enum CaseConvs case_conv = NO_CONV; static unsigned char fntarget[MC_MAXPATHLEN]; diff --git a/src/main.c b/src/main.c index e00e1a455..c629c91ac 100644 --- a/src/main.c +++ b/src/main.c @@ -2013,7 +2013,7 @@ handle_args (int argc, char *argv[]) { char *tmp; poptContext ctx; - char *base; + const char *base; int c; ctx =