diff --git a/src/c_wrapper/wrapper.cpp b/src/c_wrapper/wrapper.cpp index 711d28c..accbac6 100644 --- a/src/c_wrapper/wrapper.cpp +++ b/src/c_wrapper/wrapper.cpp @@ -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(OOPETRIS_MALLOC(value.size() + 1)); if (string == nullptr) { diff --git a/src/c_wrapper/wrapper.h b/src/c_wrapper/wrapper.h index 8e6fe27..1811fe6 100644 --- a/src/c_wrapper/wrapper.h +++ b/src/c_wrapper/wrapper.h @@ -147,8 +147,8 @@ typedef struct { } OOPetrisTetrionRecord; typedef struct { - uint8_t x; - uint8_t y; + int8_t x; + int8_t y; } OOPetrisMinoPosition;