- Timestamp:
- 11/20/07 23:45:14 (1 year ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/trunk/Sources_Common/Calendar_Store/Clients/CWebDAVCalendarClient.cpp
r19 r143 130 130 if (mBaseRURL.empty()) 131 131 mBaseRURL = "/"; 132 else if (mBaseRURL[ mBaseRURL.length() - 1] != '/')132 else if (mBaseRURL[(cdstring::size_type)(mBaseRURL.length() - 1)] != '/') 133 133 mBaseRURL += "/"; 134 134 135 135 // Must always start with / 136 if (mBaseRURL[ 0UL] != '/')136 if (mBaseRURL[(cdstring::size_type)0] != '/') 137 137 { 138 138 cdstring temp(mBaseRURL); … … 1652 1652 if (directory) 1653 1653 { 1654 if (rurl[ rurl.length() - 1] != '/')1654 if (rurl[(cdstring::size_type)(rurl.length() - 1)] != '/') 1655 1655 rurl += "/"; 1656 1656 }