From f96ddd39748f283768217fb1a3cdd3a7cbde353a Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 May 2005 22:36:08 +0000 Subject: Started on -Wall - safe compile git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqloper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra/m_sqloper.cpp') 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] == '\'') { -- cgit v1.3.1-10-gc9f91