diff options
| author | 2005-05-30 22:36:08 +0000 | |
|---|---|---|
| committer | 2005-05-30 22:36:08 +0000 | |
| commit | f96ddd39748f283768217fb1a3cdd3a7cbde353a (patch) | |
| tree | 12929cfa52dcd3de5871efe355168f762a3740eb /src/message.cpp | |
| parent | Fixed ircd_connector::CheckPing returning an undefined result (diff) | |
Started on -Wall - safe compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/message.cpp')
| -rw-r--r-- | src/message.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.cpp b/src/message.cpp index 6e76449fc..c177eee93 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -109,7 +109,7 @@ void tidystring(char* str) while (go_again) { bool noparse = false; - int t = 0, a = 0; + unsigned int t = 0, a = 0; go_again = false; while (a < strlen(str)) { @@ -254,7 +254,7 @@ int isident(const char* n) { return 0; } - for (int i = 0; i != strlen(n); i++) + for (unsigned int i = 0; i < strlen(n); i++) { if ((n[i] < 33) || (n[i] > 125)) { @@ -284,7 +284,7 @@ int isnick(const char* n) { return 0; } - for (int i = 0; i != strlen(n); i++) + for (unsigned int i = 0; i != strlen(n); i++) { if ((n[i] < 33) || (n[i] > 125)) { |
