X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fhelperfuncs.cpp;h=02a23c0acf73ad33137d80a35db158ce54b7afdb;hb=c4458ecc70025aeac7ca87115ed0a698e7bbcdad;hp=5a144cac80f738b8a589b5bf50b5a01f727813de;hpb=a47ea856edfbd043d0295787fe7e1262fb8646a5;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 5a144cac8..02a23c0ac 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -51,7 +51,7 @@ extern InspIRCd* ServerInstance; extern time_t TIME; extern char lowermap[255]; extern userrec* fd_ref_table[MAX_DESCRIPTORS]; -static int already_sent[MAX_DESCRIPTORS] = {0}; +static unsigned long already_sent[MAX_DESCRIPTORS] = {0}; extern std::vector all_opers; extern user_hash clientlist; extern chan_hash chanlist; @@ -64,7 +64,7 @@ static char TIMESTR[26]; static time_t LAST = 0; /* XXX: Used for speeding up WriteCommon operations */ -int uniq_id = 0; +unsigned long uniq_id = 0; /** log() * Write a line of text `text' to the logfile (and stdout, if in nofork) if the level `level'