diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-05-14 21:29:40 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-05-14 21:29:40 (GMT) |
commit | 7358dc2001d27d3c5a0c0fe39288b1a310a6d89e (patch) | |
tree | c83f3d52b11c72336dbabc4c1448c2ca4a375a36 /src/common/bits.c | |
parent | ed57185faa4d7a53d953cf74a6f8626f44ce9b75 (diff) |
Restore a minimal support for plugins.
Diffstat (limited to 'src/common/bits.c')
-rw-r--r-- | src/common/bits.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/bits.c b/src/common/bits.c index 3d0004c..37e3141 100644 --- a/src/common/bits.c +++ b/src/common/bits.c @@ -87,7 +87,7 @@ static bitfield_t *_create_bit_field(size_t length) base = sizeof(bitfield_t) + needed * sizeof(unsigned long); - result = (bitfield_t *)malloc(base); + result = malloc(base); result->length = length; |