diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-09-11 10:40:07 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-09-11 10:40:07 +0200 |
commit | 314c01073313c45e5da3b88eaf79b11d273c9383 (patch) | |
tree | ef7fd4a7b6204f8f3b3fee23fb8b55dd317f9f40 /src | |
parent | b321b93286006851bec47e6a8c0cd03ba3b72c26 (diff) |
vty: Address compiler warning about the const qualifier
vty.c: In function 'vty_out_newline':
vty.c:294:12: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
Diffstat (limited to 'src')
-rw-r--r-- | src/vty/vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/vty.c b/src/vty/vty.c index eda3699c..696766a9 100644 --- a/src/vty/vty.c +++ b/src/vty/vty.c @@ -291,7 +291,7 @@ int vty_out(struct vty *vty, const char *format, ...) /*! \brief print a newline on the given VTY */ int vty_out_newline(struct vty *vty) { - char *p = vty_newline(vty); + const char *p = vty_newline(vty); buffer_put(vty->obuf, p, strlen(p)); return 0; } |