Skip to content

Commit

Permalink
fic: adapt upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Totto16 committed Nov 5, 2024
1 parent b21ea9d commit e2ee6f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/c_wrapper/wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static OOPetrisAdditionalInformationField* information_value_to_c(const recorder
}

return std::visit(
helper::overloaded{ [return_value](const std::string& value) -> OOPetrisAdditionalInformationField* {
helper::Overloaded{ [return_value](const std::string& value) -> OOPetrisAdditionalInformationField* {
auto* string = static_cast<char*>(OOPETRIS_MALLOC(value.size() + 1));

if (string == nullptr) {
Expand Down
4 changes: 2 additions & 2 deletions src/c_wrapper/wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ typedef struct {
} OOPetrisTetrionRecord;

typedef struct {
uint8_t x;
uint8_t y;
int8_t x;
int8_t y;
} OOPetrisMinoPosition;


Expand Down

0 comments on commit e2ee6f9

Please sign in to comment.