From 3c7db3b7e84c8dbf1f561f8e37b23add5332d456 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 22 May 2009 16:53:41 +0000 Subject: [PATCH] Two more minor fixes due to constification git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196272 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/astmm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/astmm.c b/main/astmm.c index 3b3a671a91..2c9b464b5c 100644 --- a/main/astmm.c +++ b/main/astmm.c @@ -324,7 +324,7 @@ int __ast_vasprintf(char **strp, const char *fmt, va_list ap, const char *file, static char *handle_memory_show(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) { - char *fn = NULL; + const char *fn = NULL; struct ast_region *reg; unsigned int x; unsigned int len = 0; @@ -386,7 +386,7 @@ static char *handle_memory_show(struct ast_cli_entry *e, int cmd, struct ast_cli static char *handle_memory_show_summary(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a) { - char *fn = NULL; + const char *fn = NULL; int x; struct ast_region *reg; unsigned int len = 0;