aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty/buffer.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-03-11 10:45:38 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-11-14 15:22:22 +0100
commit78a870ed0fc7ec03d0eb24241d9772470e4a78ae (patch)
tree9a2f7683c5af332d1e3c3865a4073efb65a82747 /src/vty/buffer.c
parent7b74dda31bc05a7210bbbcb382b78d6f9cde5b15 (diff)
remove references to u_long type, use 'unsigned long' instead
.. Nuttx doesn't know u_long
Diffstat (limited to 'src/vty/buffer.c')
-rw-r--r--src/vty/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/buffer.c b/src/vty/buffer.c
index def2f522..e0abe813 100644
--- a/src/vty/buffer.c
+++ b/src/vty/buffer.c
@@ -299,7 +299,7 @@ buffer_flush_window(struct buffer * b, int fd, int width, int height,
zlog_warn("%s: growing iov array to %d; "
"width %d, height %d, size %lu",
__func__, iov_alloc, width, height,
- (u_long) b->size);
+ (unsigned long) b->size);
iov =
XREALLOC(MTYPE_TMP, iov,
iov_alloc * sizeof(*iov));