mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Fix implicit cast between enums
This caused `make develop` to fail
This commit is contained in:
@@ -434,7 +434,7 @@ void patch_CheckAssertions(struct Assertion *assert)
|
||||
while (assert) {
|
||||
int32_t value = computeRPNExpr(&assert->patch,
|
||||
(struct Symbol const * const *)assert->fileSymbols);
|
||||
enum AssertionType type = assert->patch.type;
|
||||
enum AssertionType type = (enum AssertionType)assert->patch.type;
|
||||
|
||||
if (!isError && !value) {
|
||||
switch (type) {
|
||||
|
||||
Reference in New Issue
Block a user