]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2005-12-29 Greg Troxel <gdt@fnord.ir.bbn.com>
authorgdt <gdt>
Thu, 29 Dec 2005 16:03:32 +0000 (16:03 +0000)
committergdt <gdt>
Thu, 29 Dec 2005 16:03:32 +0000 (16:03 +0000)
        * vty.c (vty_hello): add cast to quiet lint (from David Young)

(patch-lint)

lib/ChangeLog
lib/vty.c

index 5788380ba50915c277fd1e182dea16f45d4f7bbc..b02cc517caff552b92cc6de36c20da657bc9d9fb 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-29  Greg Troxel  <gdt@fnord.ir.bbn.com>
+
+       * vty.c (vty_hello): add cast to quiet lint (from David Young)
+
 2005-11-26 Paul Jakma <paul.jakma@sun.com>
 
        * buffer.c: (struct buffer_data) change gcc zero array
index 39d3701a7445012a0c889f603c8951c895d16c9c..bb8df129627c5d41fd03ae2aec5c5aa44fcd0b44 100644 (file)
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -228,7 +228,7 @@ vty_hello (struct vty *vty)
            {
              char *s;
              /* work backwards to ignore trailling isspace() */
-             for (s = buf + strlen (buf); (s > buf) && isspace (*(s - 1));
+             for (s = buf + strlen (buf); (s > buf) && isspace ((int)*(s - 1));
                   s--);
              *s = '\0';
              vty_out (vty, "%s%s", buf, VTY_NEWLINE);