diff options
author | Maria Matejka <mq@ucw.cz> | 2022-02-04 15:50:21 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-02-04 15:50:21 +0100 |
commit | 5a65ae45e5da06b9e7c6a690aa7c4afdd08dca6c (patch) | |
tree | 4bf5be3cc97ef00d23128a701926e62b14d62b9e /lib | |
parent | cc73726620da84a8ed79cf852384226aa05e5458 (diff) |
Tamed harmless i368 warnings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,7 @@ sl_new(pool *p, uint size) + sizeof(u32) * s->head_bitfield_len + align - 1) / align * align; - } while (s->objs_per_slab * size + s->head_size > page_size); + } while (s->objs_per_slab * size + s->head_size > (uint) page_size); if (!s->objs_per_slab) bug("Slab: object too large"); |