diff options
author | paul <paul> | 2004-11-08 15:43:21 +0000 |
---|---|---|
committer | paul <paul> | 2004-11-08 15:43:21 +0000 |
commit | 2265d20c1a568c7633d086ccf0233761ff942a2c (patch) | |
tree | f8b74d86a5b5e386ffec2e41f2025064aac423e4 /lib/buffer.h | |
parent | 3e6064f8384e5477593b8af0442931ca5930918b (diff) |
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 2acd571f..65b8a8ca 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; |