aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-23 10:55:02 +0000
committerlloyd <[email protected]>2006-06-23 10:55:02 +0000
commitd396aa30535c4d3a24e1593df2995eece0f2d3d4 (patch)
tree44408bdc494495083533929560433f3db632d2f1 /src
parent7c67180519ba60ddfd092a7e1e2c4c60bf77989d (diff)
Use cctype instead of ctype.h to put tolower into the std:: namespace
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));
}
}