From: Tilghman Lesher Date: Fri, 22 May 2009 16:53:41 +0000 (+0000) Subject: Two more minor fixes due to constification X-Git-Tag: 11.0.0-beta1~4837 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c7db3b7e84c8dbf1f561f8e37b23add5332d456;p=thirdparty%2Fasterisk.git Two more minor fixes due to constification git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196272 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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;