mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +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) {
|
while (assert) {
|
||||||
int32_t value = computeRPNExpr(&assert->patch,
|
int32_t value = computeRPNExpr(&assert->patch,
|
||||||
(struct Symbol const * const *)assert->fileSymbols);
|
(struct Symbol const * const *)assert->fileSymbols);
|
||||||
enum AssertionType type = assert->patch.type;
|
enum AssertionType type = (enum AssertionType)assert->patch.type;
|
||||||
|
|
||||||
if (!isError && !value) {
|
if (!isError && !value) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user