summaryrefslogtreecommitdiff
blob: b086e480e146e952c37df3f7f7aa3cdfbec5887d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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));