Fix compilation warnings
authorPaul Cadach <paul@odt.east.telecom.kz>
Fri, 22 Sep 2006 20:00:31 +0000 (20:00 +0000)
committerPaul Cadach <paul@odt.east.telecom.kz>
Fri, 22 Sep 2006 20:00:31 +0000 (20:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43498 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c

index b3b58ad..dda074a 100644 (file)
@@ -2667,7 +2667,7 @@ static int reload_config(int is_reload)
        struct oh323_alias *alias = NULL;
        struct ast_hostent ahp; struct hostent *hp;
        char *cat;
-       char *utype;
+       const char *utype;
        int is_user, is_peer, is_alias;
        char _gatekeeper[100];
        int gk_discover, gk_disable, gk_changed;
@@ -2712,7 +2712,7 @@ static int reload_config(int is_reload)
        if (ucfg) {
                struct ast_variable *gen;
                int genhas_h323;
-               char *has_h323;
+               const char *has_h323;
 
                genhas_h323 = ast_true(ast_variable_retrieve(ucfg, "general", "hash323"));
                gen = ast_variable_browse(ucfg, "general");