diff options
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/http/openauth.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/http/openauth.hpp b/sca-cpp/trunk/modules/http/openauth.hpp index 53250b4732..ff69a9732f 100644 --- a/sca-cpp/trunk/modules/http/openauth.hpp +++ b/sca-cpp/trunk/modules/http/openauth.hpp @@ -51,7 +51,7 @@ const maybe<string> sessionID(const list<string> c) { if (isNil(c)) return maybe<string>(); const string cn = cookieName(c_str(car(c))); - const int i = find(cn, "="); + const size_t i = find(cn, "="); if (i < length(cn)) { const list<string> kv = mklist<string>(substr(cn, 0, i), substr(cn, i+1)); if (!isNil(kv) && !isNil(cdr(kv))) { |