summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/ns_parse.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-07 06:46:19 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-07 06:46:19 +0000
commit5876a999023ea9b34cc895757def9506bc903a84 (patch)
tree54970482fd97d4969bbae2528603b60b65d94c8d /cpukit/libnetworking/libc/ns_parse.c
parent2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-5876a999023ea9b34cc895757def9506bc903a84.tar.bz2
2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/ns_parse.c (ns_parserr): Comment out if ( section < 0 ) (type is unsigned).
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/libc/ns_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/libc/ns_parse.c b/cpukit/libnetworking/libc/ns_parse.c
index e4e087d26b..f0ada7df4f 100644
--- a/cpukit/libnetworking/libc/ns_parse.c
+++ b/cpukit/libnetworking/libc/ns_parse.c
@@ -124,7 +124,7 @@ ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
int b;
/* Make section right. */
- if (section < 0 || section >= ns_s_max)
+ if ( /* section < 0 || */ section >= ns_s_max)
goto enodev;
if ((int)section != (int)handle->_sect) {
handle->_sect = section;