diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-14 04:52:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-14 04:52:31 +0200 |
commit | 4ffd427a3331c4b7789e7dad8c5261904fd1346b (patch) | |
tree | 38db38db3f4a611796b5a117f0902c156b031fb5 /src/libmdsserver/fd-table.c | |
parent | fix bugs (diff) | |
download | mds-4ffd427a3331c4b7789e7dad8c5261904fd1346b.tar.gz mds-4ffd427a3331c4b7789e7dad8c5261904fd1346b.tar.bz2 mds-4ffd427a3331c4b7789e7dad8c5261904fd1346b.tar.xz |
fix errors
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/libmdsserver/fd-table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmdsserver/fd-table.c b/src/libmdsserver/fd-table.c index 0d5a0dc..9fe62ca 100644 --- a/src/libmdsserver/fd-table.c +++ b/src/libmdsserver/fd-table.c @@ -48,8 +48,8 @@ int fd_table_create_tuned(fd_table_t* restrict this, size_t initial_capacity) the time overhead of `fd_table_contains_value`. */ bitcap = (this->capacity + 63) / 64; - if (xcalloc(this->used, bitcap, sizeof(size_t))) return -1; - if (xcalloc(this->values, this->capacity, sizeof(size_t))) return -1; + if (xcalloc(this->used, bitcap, size_t)) return -1; + if (xcalloc(this->values, this->capacity, size_t)) return -1; return 0; } |