author | Sebastian Harl <sh@tokkee.org> | |
Wed, 11 Feb 2009 10:31:30 +0000 (11:31 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 11 Feb 2009 10:31:30 +0000 (11:31 +0100) | ||
commit | f50ada19dcd0dc6185dc4b410e721d46d1caba9f | |
tree | ee0865114c3a2c1e3a7205e2173c6e8ba5ea4a03 | tree | snapshot |
parent | b72d521340383b6418fa6a75faca3bc45f06b14a | commit | diff |
Fixed various signedness issues identified by -Wextra.
The following two issues have been addressed:
* comparison between signed and unsigned - this was found in several places
throughout the code and has been fixed by switching to more appropriate
types or adding appropriate explicit casts.
* comparison of unsigned expression < 0 is always false - this was found in
the processes and vserver plugins where a size_t had wrongly been used
instead of a ssize_t and an int respectively.
The following two issues have been addressed:
* comparison between signed and unsigned - this was found in several places
throughout the code and has been fixed by switching to more appropriate
types or adding appropriate explicit casts.
* comparison of unsigned expression < 0 is always false - this was found in
the processes and vserver plugins where a size_t had wrongly been used
instead of a ssize_t and an int respectively.
20 files changed:
src/apache.c | diff | blob | history | |
src/ascent.c | diff | blob | history | |
src/collectd-nagios.c | diff | blob | history | |
src/common.c | diff | blob | history | |
src/configfile.c | diff | blob | history | |
src/netlink.c | diff | blob | history | |
src/network.c | diff | blob | history | |
src/nginx.c | diff | blob | history | |
src/plugin.c | diff | blob | history | |
src/processes.c | diff | blob | history | |
src/snmp.c | diff | blob | history | |
src/tail.c | diff | blob | history | |
src/thermal.c | diff | blob | history | |
src/utils_cache.c | diff | blob | history | |
src/utils_cmd_getval.c | diff | blob | history | |
src/utils_match.c | diff | blob | history | |
src/utils_rrdcreate.c | diff | blob | history | |
src/utils_subst.c | diff | blob | history | |
src/utils_tail_match.c | diff | blob | history | |
src/vserver.c | diff | blob | history |