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/m_chghost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_chghost.cpp') diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index e1cc5a8cb..f786a9f30 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -28,7 +28,7 @@ Server *Srv; void handle_chghost(char **parameters, int pcnt, userrec *user) { - for (int x = 0; x < strlen(parameters[1]); x++) + for (unsigned int x = 0; x < strlen(parameters[1]); x++) { if (((tolower(parameters[1][x]) < 'a') || (tolower(parameters[1][x]) > 'z')) && (parameters[1][x] != '.')) { -- cgit v1.2.3