aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/charset.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charset.cpp b/src/charset.cpp
index d988bb5ae..5074e728c 100644
--- a/src/charset.cpp
+++ b/src/charset.cpp
@@ -7,7 +7,7 @@
#include <botan/hex.h>
#include <botan/base64.h>
#include <botan/libstate.h>
-#include <ctype.h>
+#include <cctype>
namespace Botan {
@@ -92,7 +92,7 @@ char digit2char(byte b)
*************************************************/
bool caseless_cmp(char a, char b)
{
- return (tolower((unsigned char)a) == tolower((unsigned char)b));
+ return (std::tolower((unsigned char)a) == std::tolower((unsigned char)b));
}
}