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 00ca249 commit 7d7ff1cCopy full SHA for 7d7ff1c
src/serialize.cpp
@@ -147,7 +147,7 @@ namespace sparrow_ipc
147
// Copy the RecordBatch metadata into the buffer
148
memcpy(dst, batch_builder.GetBufferPointer(), batch_meta_len);
149
// Add padding to align the body to an 8-byte boundary
150
- if (static_cast<size_t>(aligned_batch_meta_len) >= batch_meta_len)
+ if (aligned_batch_meta_len >= batch_meta_len)
151
{
152
memset(dst + batch_meta_len, 0, aligned_batch_meta_len - batch_meta_len);
153
}
0 commit comments