IMAP now compiles again with GCC 4.
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include <Entry.h>
|
#include <Entry.h>
|
||||||
|
#include <Node.h>
|
||||||
#include <Handler.h>
|
#include <Handler.h>
|
||||||
#include <String.h>
|
#include <String.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2011, Axel Dörfler, [email protected].
|
* Copyright 2011-2012, Axel Dörfler, [email protected].
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ RFC3501Encoding::RFC3501Encoding()
|
|||||||
if (!kInverseBase64Initialized) {
|
if (!kInverseBase64Initialized) {
|
||||||
// This is not thread safe, but it's not harmful
|
// This is not thread safe, but it's not harmful
|
||||||
for (size_t i = 0; i < sizeof(kBase64Alphabet); i++)
|
for (size_t i = 0; i < sizeof(kBase64Alphabet); i++)
|
||||||
kInverseBase64Alphabet[kBase64Alphabet[i]] = i + 1;
|
kInverseBase64Alphabet[(int)kBase64Alphabet[i]] = i + 1;
|
||||||
kInverseBase64Initialized = true;
|
kInverseBase64Initialized = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user