Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
desktop
>
commoncpp2
> commoncpp-charptr.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File commoncpp-charptr.diff of Package commoncpp2
--- src/cidr.cpp +++ src/cidr.cpp @@ -198,7 +198,7 @@ memset(&netmask, 0, sizeof(netmask)); bitset((bit_t *)&netmask, getMask(cp)); setString(cbuf, sizeof(cbuf), cp); - ep = strchr(cp, '/'); + ep = (char*)strchr(cp, '/'); if(ep) *ep = 0; @@ -326,7 +326,7 @@ memset(&netmask, 0, sizeof(netmask)); bitset((bit_t *)&netmask, getMask(cp)); setString(cbuf, sizeof(cbuf), cp); - ep = strchr(cp, '/'); + ep = (char*)strchr(cp, '/'); if(ep) *ep = 0;