Skip to content

Commit

Permalink
fix mingw warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed Jun 18, 2024
1 parent 8808350 commit 6a6dc0e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ class ComplexAllocationTest : public ::testing::Test

// externalField
writer.writeVarSize(EXTERNAL_FIELD_VAR_SIZE);
writer.writeBits(EXTERNAL_FIELD_DATA >> (8U - (EXTERNAL_FIELD_VAR_SIZE % 8U)), EXTERNAL_FIELD_VAR_SIZE);
writer.writeBits(static_cast<uint32_t>(EXTERNAL_FIELD_DATA) >> (8U - (EXTERNAL_FIELD_VAR_SIZE % 8U)), EXTERNAL_FIELD_VAR_SIZE);

// externalArray
writer.writeVarSize(EXTERNAL_ARRAY_SIZE);
writer.writeVarSize(EXTERNAL_ARRAY_ELEMENT0_VAR_SIZE);
writer.writeBits(EXTERNAL_ARRAY_ELEMENT0_DATA >> (8U - (EXTERNAL_ARRAY_ELEMENT0_VAR_SIZE % 8U)),
writer.writeBits(static_cast<uint32_t>(EXTERNAL_ARRAY_ELEMENT0_DATA) >> (8U - (EXTERNAL_ARRAY_ELEMENT0_VAR_SIZE % 8U)),
EXTERNAL_ARRAY_ELEMENT0_VAR_SIZE);
writer.writeVarSize(EXTERNAL_ARRAY_ELEMENT1_VAR_SIZE);
writer.writeBits(EXTERNAL_ARRAY_ELEMENT1_DATA >> (8U - (EXTERNAL_ARRAY_ELEMENT1_VAR_SIZE % 8U)),
writer.writeBits(static_cast<uint32_t>(EXTERNAL_ARRAY_ELEMENT1_DATA) >> (8U - (EXTERNAL_ARRAY_ELEMENT1_VAR_SIZE % 8U)),
EXTERNAL_ARRAY_ELEMENT1_VAR_SIZE);

// bytesField
Expand Down

0 comments on commit 6a6dc0e

Please sign in to comment.