We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0966d99 commit 0be650eCopy full SHA for 0be650e
runtime/core/hierarchical_allocator.h
@@ -62,14 +62,16 @@ class HierarchicalAllocator final {
62
ET_CHECK_OR_RETURN_ERROR(
63
memory_id < buffers_.size(),
64
InvalidArgument,
65
- "id %" PRIu32 " >= %zu",
+ "id %" PRIu32 " >= %" ET_PRIsize_t,
66
memory_id,
67
buffers_.size());
68
Span<uint8_t> buffer = buffers_[memory_id];
69
70
offset_bytes + size_bytes <= buffer.size(),
71
MemoryAllocationFailed,
72
- "offset_bytes (%zu) + size_bytes (%zu) >= allocator size (%zu) "
+ "offset_bytes (%" ET_PRIsize_t ") + size_bytes (%" ET_PRIsize_t
73
+ ") >= allocator size (%" ET_PRIsize_t
74
+ ") "
75
"for memory_id %" PRIu32,
76
offset_bytes,
77
size_bytes,
0 commit comments