diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-09 23:57:25 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-10 00:45:11 +0100 |
commit | 8a3e30669d914581c47554b2a0325cafee147712 (patch) | |
tree | 80430f611f1e078eec6d3b929a90f0c989585304 /device/cirbuf.c | |
parent | 8d613a9cf8065e729694116132ec7ce703dabf10 (diff) | |
download | gnumach-8a3e30669d914581c47554b2a0325cafee147712.tar.gz gnumach-8a3e30669d914581c47554b2a0325cafee147712.tar.bz2 gnumach-8a3e30669d914581c47554b2a0325cafee147712.zip |
device/cirbuf.c (cb_alloc): use vm_size_t instead of an int
This is more in line with the call to kalloc() in cb_alloc().
* device/chario.c (tty_inq_size, tty_outq_size): Use unsigned int instead if an int.
* device/cirbuf.c (cb_alloc) (buf_size): Use vm_size_t instead of an int.
* device/cirbuf.h (cb_alloc) (buf_size): Likewise.
Diffstat (limited to 'device/cirbuf.c')
-rw-r--r-- | device/cirbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device/cirbuf.c b/device/cirbuf.c index 292b888d..39b1da20 100644 --- a/device/cirbuf.c +++ b/device/cirbuf.c @@ -270,7 +270,7 @@ void cb_clear(struct cirbuf *cb) void cb_alloc( struct cirbuf *cb, - int buf_size) + vm_size_t buf_size) { char *buf; |