silenced conversion warning

This commit is contained in:
joaquintides
2022-10-01 17:33:55 +02:00
parent 29f2f1db2c
commit f2e4b25615

View File

@ -784,9 +784,9 @@ struct subaligned_table_arrays:
byte_allocator bal=al;
auto p=boost::to_address(
byte_alloc_traits::allocate(bal,sizeof(group_type)*(groups_size+1)-1));
groups_offset=
groups_offset=static_cast<unsigned char>(
(uintptr_t(sizeof(group_type))-reinterpret_cast<uintptr_t>(p))%
sizeof(group_type);
sizeof(group_type));
groups=reinterpret_cast<group_type*>(p+groups_offset);
}