summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqloper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_sqloper.cpp')
-rw-r--r--src/modules/extra/m_sqloper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 70e971aae..9ccfd7a29 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -89,7 +89,7 @@ class ModuleSQLOper : public Module
// sanitize the password (we dont want any mysql insertion exploits!)
std::string temp = "";
- for (int q = 0; q < password.length(); q++)
+ for (unsigned int q = 0; q < password.length(); q++)
{
if (password[q] == '\'')
{
@@ -103,7 +103,7 @@ class ModuleSQLOper : public Module
}
password = temp;
temp = "";
- for (int v = 0; v < username.length(); v++)
+ for (unsigned int v = 0; v < username.length(); v++)
{
if (username[v] == '\'')
{