Two more minor fixes due to constification
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 22 May 2009 16:53:41 +0000 (16:53 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 22 May 2009 16:53:41 +0000 (16:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196272 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/astmm.c

index 3b3a671..2c9b464 100644 (file)
@@ -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;