Fixed types.

This commit is contained in:
Vincent Richard 2016-03-23 20:32:13 +01:00
parent af4c21ccdb
commit b03c398b47
3 changed files with 3 additions and 3 deletions

View File

@ -291,7 +291,7 @@ public:
vmime::shared_ptr <vmime::net::folder> folder = store->getFolder
(fpath() / "Folder" / "SubFolder" / "SubSubFolder2");
vmime::index_t count, unseen;
vmime::size_t count, unseen;
folder->status(count, unseen);
VASSERT_EQ("Message count", 1, count);

View File

@ -116,7 +116,7 @@ VMIME_TEST_SUITE_BEGIN(messageSetTest)
void testNumberSet_Multiple()
{
std::vector <vmime::index_t> numbers;
std::vector <vmime::size_t> numbers;
numbers.push_back(1); // test grouping 1:3
numbers.push_back(89); // test sorting
numbers.push_back(2);

View File

@ -58,7 +58,7 @@ VMIME_TEST_SUITE_BEGIN(POP3UtilsTest)
vmime::shared_ptr <POP3Response> resp =
POP3Response::readMultilineResponse(conn);
std::map <vmime::index_t, vmime::string> result;
std::map <vmime::size_t, vmime::string> result;
POP3Utils::parseMultiListOrUidlResponse(resp, result);
VASSERT_EQ("Count", 5, result.size());