Skip to content

Commit c5e0f10

Browse files
committed
fix build
1 parent 55034aa commit c5e0f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SerialPrograms/Source/PokemonLZA/Inference/Donuts/PokemonLZA_FlavorPowerDetector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ std::string FlavorPowerDetector::detect_power(const ImageViewRGB32& screen){
235235
);
236236
}
237237
// Convert power level (1, 2, 3) to character ('1', '2', '3')
238-
char expected_last_char = '0' + detected_power_level;
238+
char expected_last_char = (char)('0' + detected_power_level);
239239
// Find the result with matching last character
240240
for (const auto& result : results){
241241
const std::string& slug = result.second;

0 commit comments

Comments
 (0)