Skip to content

Commit 7d7ff1c

Browse files
committed
Revert "Add static cast"
This reverts commit 00ca249.
1 parent 00ca249 commit 7d7ff1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ namespace sparrow_ipc
147147
// Copy the RecordBatch metadata into the buffer
148148
memcpy(dst, batch_builder.GetBufferPointer(), batch_meta_len);
149149
// Add padding to align the body to an 8-byte boundary
150-
if (static_cast<size_t>(aligned_batch_meta_len) >= batch_meta_len)
150+
if (aligned_batch_meta_len >= batch_meta_len)
151151
{
152152
memset(dst + batch_meta_len, 0, aligned_batch_meta_len - batch_meta_len);
153153
}

0 commit comments

Comments
 (0)