1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 14:26:39 +02:00

some code cleanup in misc.cpp and fixed a small typo

This commit is contained in:
DukePyrolator
2010-08-01 18:48:40 +02:00
parent cb3a18e524
commit 2f6c0e435c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1308,9 +1308,9 @@ Anope::string Anope::Hex(const Anope::string &data)
{
const char hextable[] = "0123456789abcdef";
int l = data.length();
size_t l = data.length();
Anope::string rv;
for(int i=0; i < l; i++)
for (size_t i = 0; i < l; ++i)
{
unsigned char c = data[i];
rv += hextable[c >> 4];