]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Fix various warnings when building with LLVM 3.5.
authorPeter Powell <petpow@saberuk.com>
Mon, 6 Oct 2014 12:30:31 +0000 (13:30 +0100)
committerPeter Powell <petpow@saberuk.com>
Mon, 13 Oct 2014 05:18:10 +0000 (06:18 +0100)
commit402a1bb010522a35600325c1a3084e092b40ca22
tree5c276225f1c2d6758ae813e14a744b816f1ece2d
parent529d26bdafb033a3f90691d21f609067261bb953
Fix various warnings when building with LLVM 3.5.

- warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
- warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
src/commands/cmd_whois.cpp
src/configparser.cpp
src/modules/m_spanningtree/idle.cpp
src/modules/m_spanningtree/treesocket2.cpp
src/server.cpp