Skip to content

Commit e2ee6f9

Browse files
committed
fic: adapt upstream changes
see OpenBrickProtocolFoundation/oopetris#203
1 parent b21ea9d commit e2ee6f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/c_wrapper/wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static OOPetrisAdditionalInformationField* information_value_to_c(const recorder
101101
}
102102

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

107107
if (string == nullptr) {

src/c_wrapper/wrapper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ typedef struct {
147147
} OOPetrisTetrionRecord;
148148

149149
typedef struct {
150-
uint8_t x;
151-
uint8_t y;
150+
int8_t x;
151+
int8_t y;
152152
} OOPetrisMinoPosition;
153153

154154

0 commit comments

Comments
 (0)