mirror of https://github.com/PentHertz/srsLTE.git
bugfix - printf formatting incorrect in bounded_bitset method
This commit is contained in:
parent
41bc7e4810
commit
31936c9754
|
@ -366,7 +366,8 @@ public:
|
|||
void from_uint64(uint64_t v)
|
||||
{
|
||||
srsran_assert(nof_words_() == 1, "ERROR: cannot convert bitset of size=%zd to uint64_t", size());
|
||||
srsran_assert(v < (1U << size()), "ERROR: Provided uint64=%ld does not fit in bitset of size=%zd", v, size());
|
||||
srsran_assert(
|
||||
v < (1U << size()), "ERROR: Provided mask=0x%" PRIx64 " does not fit in bitset of size=%zd", v, size());
|
||||
buffer[0] = v;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue