Changeset 4442

Show
Ignore:
Timestamp:
05/10/09 10:58:26 (5 years ago)
Author:
douglask
Message:

Fix the following GCC-4.4 strchr() error:

error: invalid conversion from "const char*" to "char*"

as described in the GCC 4.4 porting to documentation:

 http://gcc.gnu.org/gcc-4.4/porting_to.html

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/mpeg4/net/net-ipv6.cpp

    r4409 r4442  
    255255        char *g_addr; 
    256256        // Check for SSM src address: Src,Group 
    257         if ((g_addr=strchr(host,(int)','))!=NULL) { 
     257        if ((g_addr=(char *)strchr(host,(int)','))!=NULL) { 
    258258                char s_addr_ssm[MAXHOSTNAMELEN]; 
    259259                int i=0;