diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-30 22:46:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-30 22:46:09 +0000 |
commit | b64108b949c84da62e2c3e7eb2a862f58bcbcb22 (patch) | |
tree | 25c9563ad66e0bbdd67194f2348e55e84a851318 /src/base.cpp | |
parent | f96ddd39748f283768217fb1a3cdd3a7cbde353a (diff) |
GCC4.0 warning fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1571 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/base.cpp')
-rw-r--r-- | src/base.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base.cpp b/src/base.cpp index 9d03b6afb..69468f59c 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -23,6 +23,9 @@ #include "modules.h" #include "helperfuncs.h" +const int bitfields[] = {1,2,4,8,16,32,64,128}; +const int inverted_bitfields[] = {~1,~2,~4,~8,~16,~32,~64,~128}; + extern time_t TIME; bool Extensible::Extend(std::string key, char* p) |