summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-09 08:05:25 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2009-04-09 08:05:25 +0000
commit08e23d6ba4842affded6848d3c4e99f04af115bb (patch)
tree1333221d025090a5d80c732faa14de2881959907 /src
parent76d29d4d591e35d2451e5c4f2260bd1f6d94e7c9 (diff)
Fix the problem described in bug #827; an improper cast when parsing commandline parameters caused the ircd to not run at all on platforms with unsigned char (i.e. PPC). There may be other issues with unsigned char, testing and reports welcome.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11294 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index ab67449a2..f54b60f03 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -357,7 +357,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
FailedPortList pl;
int do_version = 0, do_nofork = 0, do_debug = 0,
do_nolog = 0, do_root = 0, do_testsuite = 0; /* flag variables */
- char c = 0;
+ int c = 0;
// Initialize so that if we exit before proper initialization they're not deleted
this->Logs = 0;