Fix errors due to missing commit in the support branch.

This commit is contained in:
ArthurSonzogni 2023-05-19 11:17:32 +02:00
parent ac10603fdb
commit 49f0277103
No known key found for this signature in database
GPG Key ID: 41D98248C074CD6C
2 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,7 @@ endif()
set(CMAKE_C_COMPILER clang)
set(CMAKE_CXX_COMPILER clang++)
set(CMAKE_CXX_STANDARD 17)
function(fuzz name)
add_executable(${name}

View File

@ -96,8 +96,7 @@ MenuOption GeneratorMenuOption(const char* data, size_t size) {
MenuOption option;
option.underline = GeneratorUnderlineOption(data, size);
option.entries = GeneratorMenuEntryOption(data, size);
option.direction =
static_cast<MenuOption::Direction>(GeneratorInt(data, size) % 4);
option.direction = static_cast<Direction>(GeneratorInt(data, size) % 4);
return option;
}