From 7e265b05f440ed81b80f2de496c9d13221a69fe0 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 10 Dec 2013 08:52:51 +0100 Subject: Simplified types for better readability. Use appropriate types (size_t, byte_t...). Minor warning fixes. --- src/platforms/windows/windowsHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platforms/windows/windowsHandler.cpp') diff --git a/src/platforms/windows/windowsHandler.cpp b/src/platforms/windows/windowsHandler.cpp index 5b9c37ce..9c96b271 100644 --- a/src/platforms/windows/windowsHandler.cpp +++ b/src/platforms/windows/windowsHandler.cpp @@ -206,7 +206,7 @@ static inline bool isFQDN(const vmime::string& str) if (utility::stringUtils::isStringEqualNoCase(str, "localhost", 9)) return false; - const vmime::string::size_type p = str.find_first_of("."); + const vmime::size_t p = str.find_first_of("."); return p != vmime::string::npos && p > 0 && p != str.length() - 1; } -- cgit v1.2.3