diff options
author | paul <paul> | 2004-11-08 16:43:21 +0100 |
---|---|---|
committer | paul <paul> | 2004-11-08 16:43:21 +0100 |
commit | 2265d20c1a568c7633d086ccf0233761ff942a2c (patch) | |
tree | f8b74d86a5b5e386ffec2e41f2025064aac423e4 /lib/buffer.h | |
parent | 2004-11-07 Paul Jakma <paul@dishone.st> (diff) | |
download | frr-2265d20c1a568c7633d086ccf0233761ff942a2c.tar.xz frr-2265d20c1a568c7633d086ccf0233761ff942a2c.zip |
2004-11-07 Paul Jakma <paul@dishone.st>
* buffer.c: Add missing include of log.h.
(buffer_flush_available) written is compared against
mostly against unsigned types, only for the writev do we need
signed compare, so declare it as size_t and cast it to ssize_t
just for the error compare when we've called writev.
* buffer.h: Add comment that buffer data sizes really should be
size_t.
Diffstat (limited to 'lib/buffer.h')
-rw-r--r-- | lib/buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/buffer.h b/lib/buffer.h index 2acd571fd..65b8a8ca2 100644 --- a/lib/buffer.h +++ b/lib/buffer.h @@ -29,7 +29,8 @@ struct buffer /* Data list. */ struct buffer_data *head; struct buffer_data *tail; - + + /* XXX: These unsigned longs should be size_t's */ /* Current allocated data. */ unsigned long alloc; |