Author: qwell
Date: Fri Jul 20 15:54:10 2007
New Revision: 76176

URL: http://svn.digium.com/view/asterisk?view=rev&rev=76176
Log:
Eliminate a compiler warning with gcc 4.2 by constifying a char *

Modified:
    branches/1.4/main/manager.c

Modified: branches/1.4/main/manager.c
URL: 
http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=76176&r1=76175&r2=76176
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Fri Jul 20 15:54:10 2007
@@ -819,7 +819,7 @@
        return ret;
 }
 
-static int ast_is_number(char *string) 
+static int ast_is_number(const char *string) 
 {
        int ret = 1, x = 0;
 
@@ -840,7 +840,7 @@
 {
        int x, ret = -1;
        
-       x = ast_is_number((char *) string);
+       x = ast_is_number(string);
 
        if (x)
                ret = x;


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to