--- src/cybergarage/upnp/ssdp/SSDP.cpp.old 2009-07-20 15:52:39.000000000 +0000 +++ src/cybergarage/upnp/ssdp/SSDP.cpp 2009-07-20 15:53:52.000000000 +0000 @@ -45,7 +45,7 @@ int CyberLink::SSDP::GetLeaseTime(const char *cacheCnt) { - char *eqStrPos = strchr(cacheCnt, '='); + const char *eqStrPos = strchr(cacheCnt, '='); if (eqStrPos == NULL) return 0; return atoi((eqStrPos + 1));